From 391e18ab93fe80332a3f24b44befc481ce4fc075 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 10 Jul 2023 23:19:55 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 8272123..8ba557c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1083,9 +1083,10 @@ WantedBy=multi-user.target SERVICEBACKUP(){ usrvc=${1} - [ "${usrvc}" == "list" ] && SERVICERESTORE . list + if [ "${usrvc}" == "list" ]; then + SERVICERESTORE . list - if [ "${usrvc}" == "" ]; then + elif [ "${usrvc}" == "" ] || [ "${usrvc}" == "true" ]; then echo echo -e "[${idsCL[LightCyan]} 0${idsCL[Default]}]${idsCL[White]} All Services${idsCL[Default]}" b=1; declare -a bsrvcs