]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Mon, 3 Jan 2011 23:37:48 +0000 (23:37 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 3 Jan 2011 23:37:48 +0000 (23:37 +0000)
clients/tools/ldapvc.c

index e3ac98f6f53169e6cd99756e79360f18e419da5c..b4f8001acf786e283d1fd38d48ca06ec2dbe24b2 100644 (file)
@@ -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);
        }