hide output
This commit is contained in:
parent
51eacf44a2
commit
a498bfe6cd
@ -14,7 +14,7 @@ do
|
|||||||
proc_count=${#processes[@]}
|
proc_count=${#processes[@]}
|
||||||
for proc in "${processes[@]}"
|
for proc in "${processes[@]}"
|
||||||
do
|
do
|
||||||
kill -0 "$proc" || ((proc_count--))
|
kill -0 "$proc" &> /dev/null || ((proc_count--))
|
||||||
done
|
done
|
||||||
#jobs=$(jobs -p | wc -l)
|
#jobs=$(jobs -p | wc -l)
|
||||||
if [[ "$proc_count" -ge "$update_limit" ]]; then
|
if [[ "$proc_count" -ge "$update_limit" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user