diff --git a/distribution/macos/updater.sh b/distribution/macos/updater.sh index e0f3a4470..332a7cde3 100755 --- a/distribution/macos/updater.sh +++ b/distribution/macos/updater.sh @@ -1,7 +1,5 @@ #!/bin/bash -set -e - INSTALL_DIRECTORY=$1 NEW_APP_DIRECTORY=$2 APP_PID=$3 @@ -45,6 +43,8 @@ do (( attempt++ )) done +set -e + # Now replace and reopen. rm -rf "$INSTALL_DIRECTORY" mv "$NEW_APP_DIRECTORY" "$INSTALL_DIRECTORY"