Fix: Uncommented line to sleep by day
This commit is contained in:
parent
7d21134068
commit
e5578dfb14
3
avds
3
avds
@ -88,8 +88,7 @@ while [[ "${first_run}" -eq 1 || -n "${repeat}" ]]; do
|
||||
;;
|
||||
d)
|
||||
readarray -t hms < <(date +'%H%n%M%n%S')
|
||||
##sleep $(((24 - hms[0]) * 3600 - hms[1] * 60 - hms[2]))
|
||||
printf '%d\n' $(((24 - hms[0]) * 3600 - hms[1] * 60 - hms[2]))
|
||||
sleep $(((24 - hms[0]) * 3600 - hms[1] * 60 - hms[2]))
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user