From d89c80c343f87417bfb627d5d08084b69f0ef87f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 22 Apr 2023 22:15:14 -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 f4dc186..64e07c8 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1158,7 +1158,7 @@ USAGE(){ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then - [ "${2}" == "q" ] && [ "${action}" == "check" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${outputlogfile} + [ "${2}" == "q" ] && ([ "${action}" == "check" ] || [ "${action}" == "update" ]) && echo -e "\n\n$(date) - Starting log #############################\n" >> ${outputlogfile} if [ -f ${MMFOLDER}/mm.stop ]; then stoppedsince=`date +%s`-$(stat -c %Y ${MMFOLDER}/mm.stop) stopmsg="${idsCL[Yellow]}The system has currently been stopped for '$(SHOW_TIME ${stoppedsince})'.\n${idsCL[LightCyan]}(You'll need to run \"mm start\" to start services again)${idsCL[Default]}"