s+ow: fix new hour wait regression (#56)
This commit is contained in:
parent
ce45f22729
commit
abaa87c85e
2
s+ow
2
s+ow
|
@ -303,7 +303,7 @@ run() {
|
||||||
if [ -n "$SPOW_CRON" ]; then
|
if [ -n "$SPOW_CRON" ]; then
|
||||||
notify "Waiting for the new hour..."
|
notify "Waiting for the new hour..."
|
||||||
printf "waiting until the new hour...\n"
|
printf "waiting until the new hour...\n"
|
||||||
while [ "$(date +'%M')" -lt 59 ]; do
|
while [ "$(date +'%M')" -eq 58 ]; do
|
||||||
printf " $(date)\n"
|
printf " $(date)\n"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue