diff --git a/files/rabbit-client.sh b/files/rabbit-client.sh index 5766034..0b00a60 100644 --- a/files/rabbit-client.sh +++ b/files/rabbit-client.sh @@ -139,7 +139,7 @@ dispatch_task() { total_h=$(( ceil_h + rnd - 1 )) # NEW: if rebootin is huge (>=18h), convert to immediate reboot (0h) - if (( total_h >= 18 )); then + if (( total_h >= 19 )); then total_h=0 log "Adjusted _tonight rebootin to 0h because computed value was >=18h" fi