diff --git a/update.sh b/update.sh index 676f1449..558750cf 100755 --- a/update.sh +++ b/update.sh @@ -4,6 +4,10 @@ echo Updating Zeppelin... docker compose -f docker-compose.production.yml stop git pull +if [ $? -ne 0 ]; then + echo "git pull failed. exiting." + exit 1 +fi docker compose -f docker-compose.production.yml build docker compose -f docker-compose.production.yml up -d