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