diff --git a/defaults.inc b/defaults.inc index 970403e..c8060b0 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='3.9.45-07102023' +VERS='3.9.50-07102023' MMFOLDER="/opt/idssys/mediamanager" TMPFOLDER="${MMFOLDER}/.tmp" diff --git a/mm-scripts.sh b/mm-scripts.sh index ad5d513..c9ee59f 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1084,7 +1084,7 @@ WantedBy=multi-user.target SERVICEBACKUP(){ usrvc=${1} - if [ "${usrvc}" == "" ]; then + if [ "${srvc}" == "" ]; then echo echo -e "[${idsCL[LightCyan]} 0${idsCL[Default]}]${idsCL[White]} All Services${idsCL[Default]}" b=1; declare -a bsrvcs @@ -1103,7 +1103,7 @@ SERVICEBACKUP(){ echo -en "${idsCL[LightCyan]}Select a service to backup: ${idsCL[White]}" read selsrvc echo - # [ ${selsrvc} -eq 0 ] && usrvc=all || usrvc=${bsrvcs[${selsrvc}]} + [ ${selsrvc} -eq 0 ] && srvc=all || srvc=${bsrvcs[${selsrvc}]} fi if [ "${usrvc}" == "all" ]; then