From 3af818d4e0c1f8b133de61db78312426369f5b74 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 4 Sep 2023 12:53:30 +0100 Subject: [PATCH] feat: add exitcode handling to command_install.sh The commit adds a check for the exitcode variable in command_install.sh. If it is empty, it sets it to 0. This change ensures proper handling of the exitcode in the script. --- lgsm/modules/command_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lgsm/modules/command_install.sh b/lgsm/modules/command_install.sh index e8cba7560..783f0c7c0 100644 --- a/lgsm/modules/command_install.sh +++ b/lgsm/modules/command_install.sh @@ -48,5 +48,8 @@ else fix.sh install_stats.sh install_complete.sh + if [ -z "${exitcode}" ]; then + exitcode=0 + fi fi core_exit.sh