removed the debug set -x

This commit is contained in:
Søren Theilgaard
2022-01-11 16:35:09 +01:00
parent 193d51d49f
commit 1360b51eae

View File

@@ -178,9 +178,7 @@ else
displaynotification "Downloading new $name" "Download in progress …"
fi
fi
set -x
if ! curl -fsL ${curlOptions} "$downloadURL" -o "$archiveName"; then
set +x
printlog "error downloading $downloadURL"
message="$name update/installation failed. This will be logged, so IT can follow up."
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
@@ -194,7 +192,7 @@ else
cleanupAndExit 2
fi
fi
set +x
# MARK: when user is logged in, and app is running, prompt user to quit app
if [[ $BLOCKING_PROCESS_ACTION == "ignore" ]]; then
printlog "ignoring blocking processes"