From 6b6c6bae98217b59f87579c12e7fb991f3a81311 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 7 Jun 2022 22:21:33 -0500 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 360e416..206010d 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -160,7 +160,7 @@ MMSTART(){ fi if [ "${1}" == "start" ] || [ -f /opt/mm.vpn.fail* ]; then echo "$(date) - Media services have been restarted" >> $logfile - if [ "${1}" != "start" ] && [ -f /opt/mm.vpn.fail* ]; then + elif [ "${1}" != "start" ] && [ -f /opt/mm.vpn.fail* ]; then [ $SENDNOTICE = true ] && echo "Media services have been restarted" | mail -s "Services Restored" 9208839613@mms.att.net fi rm -f /opt/mm.stop