From c4fc020ada78965b6ce861b376ef107814de7df2 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 12 Nov 2024 03:27:14 -0500 Subject: [PATCH] minor improvement --- system-status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-status b/system-status index 90a2ebd..95cf0c0 100755 --- a/system-status +++ b/system-status @@ -359,9 +359,9 @@ write-status() { if [[ -e $f ]]; then now=$EPOCHSECONDS fsec=$(stat -c%Y $f) - # the / 60 makes it 0-59 seconds less strict, +2 to help make sure we + # the / 60 makes it 0-59 seconds less strict, +1 to help make sure we # dont have any false positives. - fmin=$(( (fsec - now + 2 ) / 60 )) + fmin=$(( (fsec - now + 1 ) / 60 )) fminplus=$(( fmin + 60*24 )) # Filesystem files get copied, so find any newer than the last run. # The rest are hueristics: -- 2.30.2