From 54ba3685c9448f43060175c1c02190bb2319aa30 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 23:12:36 -0600 Subject: [PATCH] testing --- functions/update_apps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index cbf7193c..08d84581 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -15,9 +15,10 @@ do if [[ "$jobs" -ge "$update_limit" ]]; then sleep 1 else - { update_apps "${array[$it]}" ;} & + update_apps "${array[$it]}" & processes+=($!) ((it++)) + echo "$processes" fi done