From 1b8635f1b856eff0a4622c31ea0e0b7bea275f7e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 23 Nov 2024 23:33:11 +0000 Subject: [PATCH] bug --- lgsm/modules/core_exit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/core_exit.sh b/lgsm/modules/core_exit.sh index d860cc90e..5f55dfcd1 100644 --- a/lgsm/modules/core_exit.sh +++ b/lgsm/modules/core_exit.sh @@ -45,7 +45,7 @@ elif [ "${exitcode}" -ne 0 ]; then # remove trap. trap - INT exit "${exitcode}" -elif [ "${exitcode}" ] && [ "${exitcode}" -qe 0 ]; then +elif [ "${exitcode}" ] && [ "${exitcode}" -eq 0 ]; then # List LinuxGSM version in logs fn_script_log_info "LinuxGSM version: ${version}" fn_script_log_pass "${moduleselfname} exiting with code: ${exitcode}"