From c0fe474c1955c1190240c50fa981f2fe68db3db5 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 4 Jun 2024 15:12:29 +0200 Subject: [PATCH] background job fix --- dabo/functions/ccxt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/ccxt.sh b/dabo/functions/ccxt.sh index 4e18124..96f465e 100644 --- a/dabo/functions/ccxt.sh +++ b/dabo/functions/ccxt.sh @@ -18,7 +18,7 @@ function f_ccxt { local g_ccxt_jobs mapfile -t g_ccxt_jobs < <(jobs -r) # Initialize ccxt in python if not initialized - [[ ${g_ccxt_jobs[*]} != *python-pipeexec.py* ]] || unset f_ccxt_initialized + [[ ${g_ccxt_jobs[*]} =~ *python-pipeexec.py* ]] || unset f_ccxt_initialized if [ -z "$f_ccxt_initialized" ] then g_python 'import os' || return 1