Permalink
Browse files

more fixes for set -e

  • Loading branch information...
BOREAN, Jordan BOREAN, Jordan
BOREAN, Jordan authored and BOREAN, Jordan committed Jun 12, 2017
1 parent 97d835c commit 83c34d1c815f7327556642fbf42d23a93c552245
Showing with 3 additions and 0 deletions.
  1. +3 −0 .travis.sh
View
@@ -60,7 +60,10 @@ apt-get \
libbz2-dev
echo "Creating KDC database"
# krb5_newrealm returns non-0 return code as it is running in a container, ignore it for this command only
set +e
printf "$KERBEROS_PASSWORD\n$KERBEROS_PASSWORD" | krb5_newrealm
set -e
echo "Creating principals for tests"
kadmin.local -q "addprinc -pw $KERBEROS_PASSWORD $KERBEROS_USERNAME"

0 comments on commit 83c34d1

Please sign in to comment.