s+ow: fix new hour wait regression

This commit is contained in:
Mark Joshwel 2023-11-03 01:10:05 +00:00
parent ce45f22729
commit ef1b1482e9

2
s+ow
View file

@ -303,7 +303,7 @@ run() {
if [ -n "$SPOW_CRON" ]; then
notify "Waiting for the new hour..."
printf "waiting until the new hour...\n"
while [ "$(date +'%M')" -lt 59 ]; do
while [ "$(date +'%M')" -eq 58 ]; do
printf " $(date)\n"
sleep 1
done