Browse Source

fixed syntax error [: missing `]'

fixed [ .... ] Stopping sdtdserver: Graceful: telnet: 127.0.0.1/home/sdtdserver/lgsm/functions/command_stop.sh: line 91: [: missing `]'
pull/1499/head
Niels Kräupl 8 years ago
committed by GitHub
parent
commit
a5e4d51092
  1. 2
      lgsm/functions/command_stop.sh

2
lgsm/functions/command_stop.sh

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

Loading…
Cancel
Save