From 1360b51eaeacc15db512e1a6ea03458b91b61cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 11 Jan 2022 16:35:09 +0100 Subject: [PATCH] removed the debug `set -x` --- fragments/main.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fragments/main.sh b/fragments/main.sh index 96fdb0e..640c244 100644 --- a/fragments/main.sh +++ b/fragments/main.sh @@ -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"