Update mm-scripts.sh

This commit is contained in:
2022-02-12 22:42:59 -06:00
parent 33a247e9e7
commit 8ad02a708a

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: Connected" ]; then
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
else
echo -e "${idsCL[Green]}Running${idsCL[Default]}"