summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanie Eckner <stefanie@eckner.net>2023-12-30 11:23:40 +0100
committerStefanie Eckner <stefanie@eckner.net>2023-12-30 11:23:40 +0100
commit67156d8eb2c942784a7c6475314c81e343eebd46 (patch)
tree832463f915ad0d9a2d4b69b0d5273b95c62357b0
parentf15b6584ce203a380a91c1409bef408c62e843b0 (diff)
downloadlogwatch-extra-67156d8eb2c942784a7c6475314c81e343eebd46.tar.xz
doalogwatch: avoid pgrep character limit
-rwxr-xr-xdoalogwatch.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doalogwatch.in b/doalogwatch.in
index 888c474..f88a5cf 100755
--- a/doalogwatch.in
+++ b/doalogwatch.in
@@ -50,7 +50,7 @@ while ${warten}; do
warten=true
# check for currently running backups
- pgrep -x "(#BINDIR#/)?backup" >/dev/null && \
+ pgrep -xf "(#BINDIR#/)?backup( .*)?" >/dev/null && \
warten=true
if [ -r '#ETCDIR#/backup.conf' ]; then
for i in 1 2; do