summaryrefslogtreecommitdiff
path: root/shutdownasap.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-14 15:51:36 +0200
committerErich Eckner <git@eckner.net>2020-05-14 15:51:36 +0200
commitd95437df15eb77b4819fef3ec04cda2618f65e28 (patch)
tree02dbd9d56a34b3ede2b5afd22b27ecf0ad97eeb4 /shutdownasap.in
parent182d6a36684c68458a064e94c48291d967ba62b4 (diff)
downloadshutdownasap-d95437df15eb77b4819fef3ec04cda2618f65e28.tar.xz
shutdownasap.in: ignore rsync daemon
Diffstat (limited to 'shutdownasap.in')
-rwxr-xr-xshutdownasap.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/shutdownasap.in b/shutdownasap.in
index 4314ed0..a32f92d 100755
--- a/shutdownasap.in
+++ b/shutdownasap.in
@@ -38,7 +38,11 @@ do
i=1
fi
sleep 1
- prozesse="$(ps aux | grep -v grep)"
+ prozesse=$(
+ ps aux \
+ | grep -v grep \
+ | grep -vF 'rsync --daemon --no-detach'
+ )
nochwarten=false