Update mm-scripts.sh

This commit is contained in:
2022-02-12 22:44:15 -06:00
parent 18ccc818e9
commit 99c6dc5a0b

View File

@@ -131,7 +131,7 @@ MMSTATUS(){
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
if [[ ${MMSRV} == *"10.10.1.24"* ]] && [ "${srvc}" = "nordvpn" ]; then
if [ "$(nordvpn status)" == "Status: Disconnected" ]; then
if [[ "$(nordvpn status)" == *"Status: Disconnected"* ]]; then
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
else
echo -e "${idsCL[Green]}Running${idsCL[Default]}"