diff --git a/src/commands/infra.sh b/src/commands/infra.sh index 2beb3ea..a506b06 100644 --- a/src/commands/infra.sh +++ b/src/commands/infra.sh @@ -51,7 +51,7 @@ wx-infra(){ git pull &> /dev/null ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" - else if [[ $1 == "manager" ]] + elif [[ $1 == "manager" ]] then cd "$INFRA_PATH" git pull &> /dev/null diff --git a/wx b/wx index 0c01594..a65b20a 100755 --- a/wx +++ b/wx @@ -184,7 +184,7 @@ wx-infra(){ git pull &> /dev/null ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" - else if [[ $1 == "manager" ]] + elif [[ $1 == "manager" ]] then cd "$INFRA_PATH" git pull &> /dev/null