From d1e7b340b81ac7231dfd062f380ceae523270b94 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 7 Jul 2016 01:14:57 +0100 Subject: [PATCH] if not empty --- lgsm/functions/command_update_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_update_functions.sh b/lgsm/functions/command_update_functions.sh index 3cc9508c7..790b3e4c6 100644 --- a/lgsm/functions/command_update_functions.sh +++ b/lgsm/functions/command_update_functions.sh @@ -57,7 +57,7 @@ if [ -n "${functionsdir}" ]; then fi fi -if [ "${exitcode}" != "0" ]; then +if [ "${exitcode}" != "0" ]||[ -n "${exitcode}" ]; then fn_print_fail "Updating functions" fn_script_log_fatal "Failure! Updating functions" else