more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 17:27:22 +01:00
parent db4a5e3c31
commit bfa59d2a0b

View File

@ -12,6 +12,8 @@ function get_vars_from_csv {
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
fi
[ -z "${f_last_lines_array[0]}" ] && return 1
if [ -z "${f_market_performance}" ]
then
f_market_performance="-50"