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 '