diff --git a/mm-scripts.sh b/mm-scripts.sh index f5c77ce..b4b8d01 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -348,7 +348,7 @@ MMSTATUS(){ echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" else echo -e "${idsCL[Green]}Running${idsCL[Default]}" - if [[ ${srvc} == *"vpn"* ]] [[ ${srvc} == *"wireguard"* ]]; then + if [[ ${srvc} == *"vpn"* ]] && [[ ${srvc} == *"wireguard"* ]]; then # zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3) # defaultgw=$(ip route show | grep default | cut -d' ' -f 3) # echo -e " |- 0.0.0.0 gateway --> (${zerogw})"