From 67156d8eb2c942784a7c6475314c81e343eebd46 Mon Sep 17 00:00:00 2001 From: Stefanie Eckner Date: Sat, 30 Dec 2023 11:23:40 +0100 Subject: doalogwatch: avoid pgrep character limit --- doalogwatch.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2