reassign array prior to element check
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user