summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanie Eckner <stefanie@eckner.net>2023-12-30 11:23:55 +0100
committerStefanie Eckner <stefanie@eckner.net>2023-12-30 11:23:55 +0100
commitf4952a6c554ba6150504ab395fb764e89a4cda01 (patch)
treeeeff53d21b950b8d1531205070f0b2fe1a549f40
parent67156d8eb2c942784a7c6475314c81e343eebd46 (diff)
downloadlogwatch-extra-f4952a6c554ba6150504ab395fb764e89a4cda01.tar.xz
doalogwatch: send report at end of day no matter what
-rwxr-xr-xdoalogwatch.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doalogwatch.in b/doalogwatch.in
index f88a5cf..1b0c662 100755
--- a/doalogwatch.in
+++ b/doalogwatch.in
@@ -42,7 +42,7 @@ fi
. '#ETCDIR#/backup.conf'
warten=true
-while ${warten}; do
+while ${warten} && [ "$(date '+%H')" != '23' ]; do
warten=false