From 14f33471152ae8e5b39a3d7a1cef96eba060349d Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 19 May 2023 11:09:06 +0200 Subject: [PATCH] fix --- 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 4256adb..8b360d3 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -114,7 +114,7 @@ function check_buy_conditions_strategy { local f_echo_prefix="BUY ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - " if [ -s "${f_strategy}" ] then - . "${f_strategy}" || return 0 + . "${f_strategy}" || return 1 else g_echo_note "${f_echo_prefix}Strategy file not found" return 1