diff --git a/mm-scripts.sh b/mm-scripts.sh index 9393919..2586236 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -121,7 +121,9 @@ MMSTART(){ echo -e "${idsCL[LightCyan]}It may take a couple of minutes before all systems fully start${idsCL[Default]}" echo fi - echo "$(date) - Media Management systems started" >> $logfile + if [ "${1}" == "start" ]; then + echo "$(date) - Media Management systems started" >> $logfile + fi rm -f /opt/mm.stop rm -f /opt/mm.vpn.fail* echo