jobs var
This commit is contained in:
parent
992453c6a6
commit
f3c1fa5a0b
@ -23,7 +23,7 @@ function g_python {
|
|||||||
|
|
||||||
local g_python_jobs
|
local g_python_jobs
|
||||||
mapfile -t g_python_jobs < <(jobs -r)
|
mapfile -t g_python_jobs < <(jobs -r)
|
||||||
if ! [[ $g_python_jobs =~ python-pipeexec.py ]]
|
if ! [[ ${g_python_jobs[*]} =~ python-pipeexec.py ]]
|
||||||
then
|
then
|
||||||
g_echo_error "$(cat ${g_tmp}/${g_rnd}/python-error)"
|
g_echo_error "$(cat ${g_tmp}/${g_rnd}/python-error)"
|
||||||
unset g_python_running
|
unset g_python_running
|
||||||
|
Loading…
Reference in New Issue
Block a user