Merge pull request #339 from klightspeed/1.5-dev#fixrestartwarn

Fix typo in stop/restart warn
This commit is contained in:
Fez Vrasta 2015-12-25 14:19:10 +01:00
commit f6ce5430a0

View File

@ -682,10 +682,10 @@ doStartAll(){
#
doStop() {
if isTheServerRunning; then
if [ " $* " =~ " --warn " ]; then
if [[ " $* " =~ " --warn " ]]; then
doWarn "$1"
fi
if [ " $* " =~ " --saveworld " ]; then
if [[ " $* " =~ " --saveworld " ]]; then
doSaveWorld
fi
tput sc