Skip to content

Commit 4b06cea

Browse files
committed
Use date to format time properly
1 parent d7b9d03 commit 4b06cea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • root/etc/s6-overlay/s6-rc.d/init-modmanager-config

root/etc/s6-overlay/s6-rc.d/init-modmanager-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ else [[ $(date "+%H") -gt 18 && $(date "+%H") -le 23 ]];
1515
NEXT_HOUR=0
1616
fi
1717

18-
echo "[mod-init] Mod updates will run every 6 hours at ${CRON_MINS} minutes past the hour. Next update will be at ${NEXT_HOUR}:${CRON_MINS}."
18+
echo "[mod-init] Mod updates will run every 6 hours at ${CRON_MINS} minutes past the hour. Next update will be at $(date -d${NEXT_HOUR}:${CRON_MINS} '+%H:%m')."
1919

2020
/app/update-mods.sh

0 commit comments

Comments
 (0)