diff --git a/mm-scripts.sh b/mm-scripts.sh index b58b83f..436ffdd 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -74,7 +74,7 @@ MMSTOP(){ if [ ${action-x} ]; then case $action in start | check) - if [ -f /opt/mm.stop ] && [ $action=='check' ]; then + if [ -f /opt/mm.stop ] && [ ${action} -eq 'check' ]; then echo -e "${idsCL[Yellow]}The system is currently stopped${idsCL[Default]}" exit 0 fi