Browse Source

if not empty

Daniel Gibbs 10 years ago
parent
commit
d1e7b340b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lgsm/functions/command_update_functions.sh

+ 1 - 1
lgsm/functions/command_update_functions.sh

@@ -57,7 +57,7 @@ if [ -n "${functionsdir}" ]; then
 	fi
 	fi
 fi
 fi
 
 
-if [ "${exitcode}" != "0" ]; then
+if [ "${exitcode}" != "0" ]||[ -n "${exitcode}" ]; then
 	fn_print_fail "Updating functions"
 	fn_print_fail "Updating functions"
 	fn_script_log_fatal "Failure! Updating functions"
 	fn_script_log_fatal "Failure! Updating functions"
 else
 else