From 984adaa444273a8414b2e987e881093357029dc9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Jan 2022 14:06:40 -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 e4151f7..b58b83f 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 ]; then + if [ -f /opt/mm.stop ] && [ $action=='check' ]; then echo -e "${idsCL[Yellow]}The system is currently stopped${idsCL[Default]}" exit 0 fi