more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 17:28:32 +01:00
parent bfa59d2a0b
commit 5ddbebe1ae

View File

@ -12,7 +12,7 @@ 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
[ -z "${f_last_lines_array[3]}" ] && return 1
if [ -z "${f_market_performance}" ]
then