Update mm-scripts.sh

This commit is contained in:
2022-02-12 22:42:26 -06:00
parent d898a0d6ef
commit 073d18823e

View File

@@ -130,7 +130,7 @@ MMSTATUS(){
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
if [ ${MMSRV} == *"10.10.1.24"* ] && [ "${srvc}" = "nordvpn" ]; then
if [[ ${MMSRV} == *"10.10.1.24"* ]] && [ "${srvc}" = "nordvpn" ]; then
echo 'yes'
if [ "$(nordvpn status)" == "Status: Disconnected" ]; then
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"