diff --git a/lgsm/functions/core_exit.sh b/lgsm/functions/core_exit.sh index 27ad162d8..9704b0115 100644 --- a/lgsm/functions/core_exit.sh +++ b/lgsm/functions/core_exit.sh @@ -14,7 +14,7 @@ if [ -n "${exitcode}" ]&&[ "${exitcode}" != "0" ]; then elif [ "${exitcode}" == "3" ]; then fn_script_log_warn "Exiting with code: ${exitcode}" else - fn_script_log "Exiting with code: ${exitcode}" + fn_script_log_warn "Exiting with code: ${exitcode}" fi exit ${exitcode} else