s+ow: fix new hour wait regression (#56)
This commit is contained in:
parent
ce45f22729
commit
abaa87c85e
1 changed files with 1 additions and 1 deletions
2
s+ow
2
s+ow
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue