reassign array prior to element check

This commit is contained in:
Heavybullets8 2022-09-05 12:38:01 -06:00
parent 3b502bd93a
commit ad0c8e07f5

View File

@ -42,10 +42,9 @@ do
fi
((index++))
done
array=("${array[@]}")
[[ ${#array[@]} == 0 ]] && return
array=("${array[@]}")
it=0
while_count=0