diff --git a/defaults.inc b/defaults.inc index 2ef2b0f..76f0786 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='3.8.150-04232023' +VERS='3.8.154-04232023' MMFOLDER="/opt/idssys/mediamanager" MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) diff --git a/mm-scripts.sh b/mm-scripts.sh index 203d8df..2110e0c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -969,11 +969,11 @@ UPDATESERVICE(){ echo "$(date) - Updating Service (${usrvc}) : Completed" >> $logfile echo -e "${idsCL[Green]}${usrvc^} Service has been updated${idsCL[Default]}" + else + echo -e "${idsCL[Red]}Not currently available to update${idsCL[Default]}" + fi - else - echo -e "${idsCL[Red]}Not currently available to update${idsCL[Default]}" - fi else