]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9309 fix exit status on prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 10 Aug 2020 22:18:48 +0000 (23:18 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 10 Aug 2020 22:26:40 +0000 (22:26 +0000)
tests/scripts/test022-ppolicy

index cde344de1fd16b1937ccb1b324b7c7a951424032..2e8dfa0f4d33c17d5dc01df986ae5e4f5fad93b1 100755 (executable)
@@ -72,7 +72,7 @@ RC=$?
 if test $RC = 0 ; then
        echo "ldapadd should have failed ($RC)!"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
-       exit $RC
+       exit 1
 fi
 
 echo "Using ldapadd to populate the database..."