From 1b0b03c4cedafcb1364db273fab89fd408840bdb Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 12 Nov 2023 17:55:56 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/check_buy_conditions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index 16414bd..b40d73c 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -17,7 +17,7 @@ function check_buy_conditions { fi # get asset vars - [ -n "${BOT}" ] get_vars_from_csv "${f_ASSET_HIST_FILE}" || return 1 + [ -n "${BOT}" ] && get_vars_from_csv "${f_ASSET_HIST_FILE}" || return 1 ### from here: check for defined state to buy f_BUY=""