From 1744390200eb831ea2dd5a912379464e3ca601e9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Jan 2022 14:07:11 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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