diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 5284beab..c28f9f55 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -16,7 +16,7 @@ count=0 while [[ "$count" -ge "$update_limit" ]] do echo "waiting for free space" - wait + wait -n "${processes[@]}" count=0 done done