From 980aae42ff58ab06ba0fc5db9c356eca54192788 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 4 May 2017 23:25:52 +0100 Subject: [PATCH] corrected if --- lgsm/functions/command_stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '