diff --git a/functions/update_apps.sh b/functions/update_apps.sh index db857f38..3d6b125b 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -13,7 +13,7 @@ current_updates=0 update_apps "$i" & (( current_updates++ )) processes+=($!) - while [[ current_updates -ge "$update_limit" ]] + while [[ "$current_updates" -ge "$update_limit" ]] do sleep 5 done