This commit is contained in:
Heavybullets8 2022-07-25 22:34:07 -06:00
parent 5b1b0a73d9
commit c3fcc5a10d
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,6 @@ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_availabl
echo "Asynchronous Updates: $update_limit" echo "Asynchronous Updates: $update_limit"
it=0 it=0
while [[ $it -lt ${#array[@]} ]] while [[ $it -lt ${#array[@]} ]]
do do
jobs=$(jobs -p | wc -l) jobs=$(jobs -p | wc -l)

View File

@ -88,7 +88,7 @@ do
# existing or starting with dash? # existing or starting with dash?
if [[ -n $nextopt && $nextopt != -* ]] ; then if [[ -n $nextopt && $nextopt != -* ]] ; then
OPTIND=$((OPTIND + 1)) OPTIND=$((OPTIND + 1))
update_limit=("$OPTARG") update_limit="$OPTARG"
else else
update_limit=1 update_limit=1
fi fi
@ -100,7 +100,7 @@ do
# existing or starting with dash? # existing or starting with dash?
if [[ -n $nextopt && $nextopt != -* ]] ; then if [[ -n $nextopt && $nextopt != -* ]] ; then
OPTIND=$((OPTIND + 1)) OPTIND=$((OPTIND + 1))
update_limit=$OPTARG update_limit="$OPTARG"
else else
update_limit=1 update_limit=1
fi fi