From 628597603cd672d798587e628f908b8af9a965a9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Mar 2023 09:17:06 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 75e1028..f661ee5 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -409,9 +409,9 @@ MMSTATUS(){ echo -en " ${NM_SERVICES[${srvc}]}$spc: " if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then - if [ ! -f ${MMFOLDER}/mm.noservices ]; then + if [ -f ${MMFOLDER}/mm.noservices ]; then echo -e "${idsCL[Red]}Skipping, started wtih VPN only${idsCL[Default]}" - elif [ ! -f ${MMFOLDER}/mm.plexmount.fail ]; then + elif [ -f ${MMFOLDER}/mm.plexmount.fail ]; then echo -e "${idsCL[Red]}Skipping, Plex Media not mounted${idsCL[Default]}" else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"