From: Pierangelo Masarati Date: Tue, 13 Feb 2007 23:31:49 +0000 (+0000) Subject: fix exit code X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=225e0014eb191e276fb35e8ff5a033cdaba66728;p=openldap fix exit code --- diff --git a/tests/progs/slapd-search.c b/tests/progs/slapd-search.c index e0b6b1d5c5..7ad90d20e4 100644 --- a/tests/progs/slapd-search.c +++ b/tests/progs/slapd-search.c @@ -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 ) {