diff --git a/clients/tools/ldapvc.c b/clients/tools/ldapvc.c index e3ac98f6f5..b4f8001acf 100644 --- a/clients/tools/ldapvc.c +++ b/clients/tools/ldapvc.c @@ -268,7 +268,7 @@ main( int argc, char *argv[] ) goto skip; } - if (!rcode) { + if (rcode != LDAP_SUCCESS) { printf(_("Failed: %s (%d)\n"), ldap_err2string(rcode), rcode); }