updated redundant exit codes, closes #561

See also: https://github.com/Installomator/Installomator/wiki/Installomator-Exit-Codes
This commit is contained in:
Armin Briegel
2022-08-12 13:47:44 +02:00
parent 4e5f069024
commit 1477457155
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ fi
if [[ ${INTERRUPT_DND} = "no" ]]; then
# Check if a fullscreen app is active
if hasDisplaySleepAssertion; then
cleanupAndExit 1 "active display sleep assertion detected, aborting" ERROR
cleanupAndExit 24 "active display sleep assertion detected, aborting" ERROR
fi
fi
@@ -132,7 +132,7 @@ fi
# MARK: change directory to temporary working directory
printlog "Changing directory to $tmpDir" DEBUG
if ! cd "$tmpDir"; then
cleanupAndExit 1 "error changing directory $tmpDir" ERROR
cleanupAndExit 13 "error changing directory $tmpDir" ERROR
fi
# MARK: get installed version