diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index fb30b4ad8..18a9c53dd 100644 --- a/lgsm/functions/command_stop.sh +++ b/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 '