From 463b9a5ea1a2688164e52e76b333b2006e320f14 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 20:03:09 -0500 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 7f026c8..09f2cbe 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -356,7 +356,7 @@ MMSTART(){ msg="${mmsv} Services"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}" - if [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ] && ([ ! -f ${MMFOLDER}/mm.plexmount.fail ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]); then + if [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ] && ([ ! -f ${MMFOLDER}/mm.plexmount.fail ] || [ -f ${MMFOLDER}/mm.plexmount.fail2 ]); then for srvc in "${SERVICES_CHECK[@]}"; do [ "$(systemctl is-active ${srvc})" != "active" ] && /bin/systemctl restart ${srvc} done