1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-20 16:23:51 +03:00

r26304: More work to remove silly error printouts.

Andrew Bartlett
(This used to be commit ba23dac031)
This commit is contained in:
Andrew Bartlett
2007-12-05 03:03:33 +01:00
committed by Stefan Metzmacher
parent c3c27fadc0
commit 439f85c609

View File

@@ -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) {