This commit is contained in:
2023-04-22 22:20:52 -05:00
parent 280a0f2fe4
commit 3758c5462d
2 changed files with 9 additions and 1 deletions

View File

@@ -1158,7 +1158,7 @@ USAGE(){
if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
[ "${2}" == "q" ] && ([ "${action}" == "check" ] || [ "${action}" == "update" ]) && echo -e "\n\n$(date) - Starting log #############################\n" >> ${outputlogfile}
[ "${2}" == "q" ] && [ "${action}" == "check" ] && 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]}"