background job fix
This commit is contained in:
parent
29156fbac6
commit
c0fe474c19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user