소스 검색

if not empty

Daniel Gibbs 10 년 전
부모
커밋
d1e7b340b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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