summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <drkste@zoho.com>2020-01-17 05:16:19 -0500
committerDerek Stevens <drkste@zoho.com>2020-01-17 05:16:19 -0500
commitce342cd3681bfb5efd6c875b04ba3a2c53afc5a8 (patch)
treeb1edd235d496a7e94541d098bce744d19028acc3
parentc193f910379598a780a10ef1fa1a0e05a712dd93 (diff)
supress output of kill for PID queryHEADmain
-rw-r--r--shredder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shredder.sh b/shredder.sh
index 78ba718..86023d0 100644
--- a/shredder.sh
+++ b/shredder.sh
@@ -44,7 +44,7 @@ done
while true; do
for child in ${children}; do
- if kill -0 ${child}; then
+ if kill -0 ${child} >/dev/null 2>&1; then
activeChildren="${activeChildren} ${child}"
fi
done