ge instead of eq
This commit is contained in:
		| @@ -27,7 +27,7 @@ do | |||||||
|         sleep 3 |         sleep 3 | ||||||
|     elif [[ $it -lt ${#array[@]} ]]; then |     elif [[ $it -lt ${#array[@]} ]]; then | ||||||
|         new_updates=0 |         new_updates=0 | ||||||
|         until [[ "$proc_count" -eq "$update_limit" || $it -eq ${#array[@]} ]] |         until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] | ||||||
|         do |         do | ||||||
|             update_apps "${array[$it]}" & |             update_apps "${array[$it]}" & | ||||||
|             processes+=($!) |             processes+=($!) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user