summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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