diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-12-05 03:03:33 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:18 +0100 |
commit | 439f85c60976cd1fd725b78b8b0a061cba219424 (patch) | |
tree | 07d62fe85d8ede3f68bbed623e6f73e849cf4507 /source4 | |
parent | c3c27fadc0a53f8d3de57bae1158a8b244742d72 (diff) | |
download | samba-439f85c60976cd1fd725b78b8b0a061cba219424.tar.gz samba-439f85c60976cd1fd725b78b8b0a061cba219424.tar.bz2 samba-439f85c60976cd1fd725b78b8b0a061cba219424.zip |
r26304: More work to remove silly error printouts.
Andrew Bartlett
(This used to be commit ba23dac0319f7c5ad89e5d79174520892027afdd)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/libjs/provision.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 5e9e43a858..a64fdb8977 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -226,9 +226,10 @@ function ldb_erase_partitions(info, ldb, ldapbackend) if (res2.error != 0) { if (res2.error == 32) { break; + } else { + info.message("ldb search(2) failed: " + res2.errstr + "\n"); + continue; } - info.message("ldb search failed: " + res2.errstr + "\n"); - continue; } previous_remaining = current_remaining; current_remaining = res2.msgs.length; @@ -238,7 +239,7 @@ function ldb_erase_partitions(info, ldb, ldapbackend) var res3 = ldb.search(anything, basedn, ldb.SCOPE_SUBTREE, attrs); if (res3.error != 0) { - info.message("ldb search failed: " + res3.errstr + "\n"); + info.message("ldb search(3) failed: " + res3.errstr + "\n"); continue; } if (res3.msgs.length != 0) { |