]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test014-whoami
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
[openldap] / tests / scripts / test014-whoami
index bc2561dac5c393492e9e73241ab8e8b2a44401f0..8ecbf740ec0f7cd4546a05234d2f6fbbe4c38807 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2008 The OpenLDAP Foundation.
+## Copyright 1998-2013 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"