]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test014-whoami
ITS#7455
[openldap] / tests / scripts / test014-whoami
index c1dec3f2873315595d8e94ed3bbfddfc75846414..d6ba80025dc6bd09d08df25ab4fb04be8f497068 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2009 The OpenLDAP Foundation.
+## Copyright 1998-2012 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -437,7 +437,7 @@ RC=$?
 if test $RC != 1 ; then
        echo "ldapwhoami failed ($RC)!"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
-       exit $RC
+       exit 1
 fi
 
 BINDDN="dc=example,dc=com"