syntax fixes

This commit is contained in:
Bob Belnap committed 2018-02-16 09:01:26 -05:00
1 parent 90e587a974
commit b8418ced44
1 file changed
+3 -6
+3 -6
View File
@@ -33,21 +33,18 @@ vault_deploy() {
_debug _cfullchain "$_cfullchain"
# validate required env vars
if [ -z "$VAULT_PREFIX" ]
then
if [ -z "$VAULT_PREFIX" ]; then
_err "VAULT_PREFIX needs to be defined (contains prefix path in vault)"
return 1
fi
if [ -z "$VAULT_ADDR" ]
then
if [ -z "$VAULT_ADDR" ]; then
_err "VAULT_ADDR needs to be defined (contains vault connection address)"
return 1
fi
VAULT_CMD=$(which vault)
if [ ! $? ]
then
if [ ! $? ]; then
_err "cannot find vault binary!"
return 1
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.