Skip to content

Commit

Permalink
fix accidental exit in deploy script
Browse files Browse the repository at this point in the history
Signed-off-by: Max Fisher <[email protected]>
  • Loading branch information
maxfisher-g committed Oct 26, 2023
1 parent fa8e65b commit 02dcb6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -32,4 +32,4 @@ case $yn in
esac


popd || echo "failed to popd" && exit 1
popd || (echo "failed to popd" && exit 1)

0 comments on commit 02dcb6e

Please sign in to comment.