reassign array prior to element check
This commit is contained in:
parent
3b502bd93a
commit
ad0c8e07f5
@ -42,10 +42,9 @@ do
|
|||||||
fi
|
fi
|
||||||
((index++))
|
((index++))
|
||||||
done
|
done
|
||||||
|
array=("${array[@]}")
|
||||||
[[ ${#array[@]} == 0 ]] && return
|
[[ ${#array[@]} == 0 ]] && return
|
||||||
|
|
||||||
array=("${array[@]}")
|
|
||||||
|
|
||||||
it=0
|
it=0
|
||||||
while_count=0
|
while_count=0
|
||||||
|
Loading…
Reference in New Issue
Block a user