]> 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)
committerHoward Chu <hyc@openldap.org>
Mon, 10 Aug 2020 22:18:48 +0000 (23:18 +0100)
tests/scripts/test022-ppolicy

index d46843387e6303205233f209aee7fd0c53420889..6e8eae024c8388adc4ac3a64e84ca1870ee6cfe1 100755 (executable)
@@ -74,7 +74,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..."