From 91a2baa5dc273c50f8d6320b07303592f2fd8113 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 20 Feb 2023 22:04:45 -0600 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 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})"