diff --git a/mm-scripts.sh b/mm-scripts.sh index be96661..1e4a77c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -161,9 +161,7 @@ MMSTART(){ fi if [ -f /opt/mm.vpn.fail* ]; then echo "$(date) - VPN issue has been fixed" >> $logfile - if [ "${1}" == "check" ]; then - [ $SENDNOTICE = true ] && echo "VPN issue has been fixed" | mail -s "Services Restored" 9208839613@mms.att.net - fi + [ $SENDNOTICE = true ] && echo "VPN issue has been fixed" | mail -s "Services Restored" 9208839613@mms.att.net rm -f /opt/mm.vpn.fail* fi rm -f /opt/mm.stop