diff --git a/functions/update_apps.sh b/functions/update_apps.sh index c28f9f55..b91cb9b6 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -17,7 +17,7 @@ count=0 do echo "waiting for free space" wait -n "${processes[@]}" - count=0 + (( count-- )) done done