test
This commit is contained in:
parent
2fd4d0a926
commit
eb50e56e6b
@ -27,12 +27,10 @@ do
|
|||||||
update_apps "${array[$it]}" &
|
update_apps "${array[$it]}" &
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
((it++))
|
((it++))
|
||||||
else
|
elif [[ ${#processes[@]} == 0 ]]; then
|
||||||
for proc in "${processes[@]}"
|
|
||||||
do
|
|
||||||
wait "$proc"
|
|
||||||
done
|
|
||||||
break
|
break
|
||||||
|
else
|
||||||
|
sleep 3
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user