]> git.sur5r.net Git - openldap/commitdiff
fix exit code
authorPierangelo Masarati <ando@openldap.org>
Tue, 13 Feb 2007 23:31:49 +0000 (23:31 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 13 Feb 2007 23:31:49 +0000 (23:31 +0000)
tests/progs/slapd-search.c

index e0b6b1d5c56c43031b86b3fb6c27260d30654b00..7ad90d20e45661c1df123378297037cd2730faad 100644 (file)
@@ -298,7 +298,7 @@ do_random( char *uri, char *manager, struct berval *passwd,
                if ( !values ) {
                        fprintf( stderr, "  PID=%ld - Search base=\"%s\" filter=\"%s\" got %d values.\n",
                                (long) pid, sbase, filter, nvalues );
-                       exit(EXIT_FAIL);
+                       exit(EXIT_FAILURE);
                }
 
                if ( do_retry == maxretries ) {