Daniel Gibbs 10 rokov pred
rodič
commit
d1e7b340b8

+ 1 - 1
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