From 663e7fdf0590fb6c9007d8c9b8bce7380627d75e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 5 Nov 2024 18:38:58 +0100 Subject: cap negative times --- computer-time-limit | 1 + 1 file changed, 1 insertion(+) diff --git a/computer-time-limit b/computer-time-limit index 91b8bce..7732728 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -138,5 +138,6 @@ while true; do sende_msg stop "${key}" >/dev/null fi done + [ ${noch} -lt 0 ] && noch=0 sleep $((15 + ((noch + 15) % 30))) done -- cgit v1.2.3-70-g09d2