mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
If we exit a 0 we should still get the exit message
This commit is contained in:
@@ -18,6 +18,8 @@ cleanupAndExit() { # $1 = exit code, $2 message, $3 level
|
|||||||
reopenClosedProcess
|
reopenClosedProcess
|
||||||
if [[ -n $2 && $1 -ne 0 ]]; then
|
if [[ -n $2 && $1 -ne 0 ]]; then
|
||||||
printlog "ERROR: $2" $3
|
printlog "ERROR: $2" $3
|
||||||
|
else
|
||||||
|
printlog "$2" $3
|
||||||
fi
|
fi
|
||||||
printlog "################## End Installomator, exit code $1 \n\n" REQ
|
printlog "################## End Installomator, exit code $1 \n\n" REQ
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user