more pure bash to speed up things
This commit is contained in:
parent
bfa59d2a0b
commit
5ddbebe1ae
@ -12,7 +12,7 @@ function get_vars_from_csv {
|
|||||||
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "${f_last_lines_array[0]}" ] && return 1
|
[ -z "${f_last_lines_array[3]}" ] && return 1
|
||||||
|
|
||||||
if [ -z "${f_market_performance}" ]
|
if [ -z "${f_market_performance}" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user