mirror of
https://github.com/mtan93/Installomator.git
synced 2026-05-09 14:26:06 +01:00
updated redundant exit codes, closes #561
See also: https://github.com/Installomator/Installomator/wiki/Installomator-Exit-Codes
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user