diff --git a/infra/deploy.sh b/infra/deploy.sh index c86e8034..3711288a 100755 --- a/infra/deploy.sh +++ b/infra/deploy.sh @@ -15,7 +15,7 @@ fi gcloud container clusters get-credentials analysis-cluster --zone=us-central1-c --project=ossf-malware-analysis -pushd infra/worker || echo "pushd infra/worker failed" && exit 1 +pushd infra/worker || (echo "pushd infra/worker failed" && exit 1) echo "Were any changes made to the k8s config?" echo "Enter y to apply config changes and then restart workers, n to just restart, ctrl-C to exit" @@ -32,4 +32,4 @@ case $yn in esac -popd || echo "failed to popd" && exit 1 +popd || (echo "failed to popd" && exit 1)