supress output of kill for PID query

This commit is contained in:
Iris Lightshard 2020-01-17 05:16:19 -05:00
parent c193f91037
commit ce342cd368

View file

@ -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