fix IFS
This commit is contained in:
parent
ab06193f07
commit
492d9babfa
@ -75,6 +75,7 @@ function get_values {
|
||||
# add current price and sort
|
||||
f_levels+=("${v[${f_asset}_price]}")
|
||||
IFS=$'\n' f_levels_sorted=($(sort -n <<<"${f_levels[*]}"))
|
||||
unset IFS
|
||||
|
||||
# find current price and +- one for upper lower price
|
||||
for ((i=0; i<${#f_levels_sorted[@]}; i++)); do
|
||||
|
Loading…
Reference in New Issue
Block a user