소스 검색

corrected if

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

+ 1 - 1
lgsm/functions/command_stop.sh

@@ -88,7 +88,7 @@ fn_stop_graceful_goldsource(){
 
 # Attempts graceful of 7 Days To Die using telnet.
 fn_stop_telnet_sdtd(){
-	if [ ! "${telnetpass}"]; then
+	if [ -z "${telnetpass}"]; then
 		telnetpass="NOTSET"
 	fi
 	sdtd_telnet_shutdown=$( expect -c '