diff --git a/fragments/functions.sh b/fragments/functions.sh index 7e542ea..26acf46 100644 --- a/fragments/functions.sh +++ b/fragments/functions.sh @@ -18,6 +18,8 @@ cleanupAndExit() { # $1 = exit code, $2 message, $3 level reopenClosedProcess if [[ -n $2 && $1 -ne 0 ]]; then printlog "ERROR: $2" $3 + else + printlog "$2" $3 fi printlog "################## End Installomator, exit code $1 \n\n" REQ