Browse Source

if not empty

Daniel Gibbs 10 năm trước cách đây
mục cha
commit
d1e7b340b8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 
-if [ "${exitcode}" != "0" ]; then
+if [ "${exitcode}" != "0" ]||[ -n "${exitcode}" ]; then
 	fn_print_fail "Updating functions"
 	fn_script_log_fatal "Failure! Updating functions"
 else