소스 검색

corrected if

Daniel Gibbs 10 년 전
부모
커밋
eb303423f1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/command_stop.sh

+ 1 - 1
lgsm/functions/command_stop.sh

@@ -207,7 +207,7 @@ fn_stop_pre_check(){
 		fi      
 	else
 		check_status.sh
-		if [ "${status}" != "0" ]; then
+		if [ "${status}" == "0" ]; then
 			fn_print_ok_nl "${servername} is already stopped"
 			fn_scriptlog "${servername} is already stopped"
 		else