unset old result

This commit is contained in:
olli 2024-04-22 19:16:50 +02:00
parent e780202efc
commit 0384404c6e

View File

@ -6,7 +6,7 @@ function g_python {
local g_python_error=${g_python_tmp}/python-error
local g_python_jobs
mapfile -t g_python_jobs < <(jobs -r)
unset g_python_result
# Use python in backround for multiple python commands running much faster
#if [ -z "${g_python_running}" ]
@ -39,7 +39,6 @@ function g_python {
# Check for output
if [ -s ${g_python_out} ]
then
unset g_python_result
mapfile -t g_python_result <${g_python_out}
if [[ ${g_python_result[-1]} == DONE ]]
then