Commit 96049e51 authored by Emeric Verschuur's avatar Emeric Verschuur

[fix] return the good error code on local job execution failure

parent d77f3935
......@@ -551,6 +551,7 @@ if [ $__job_exit_code__ -eq 0 ]; then
else
print_error "ERROR: Job failed: exit code $__job_exit_code__"
fi
exit $__job_exit_code__
'
CITBX_JOB_SCRIPT="'"${CITBX_JOB_SCRIPT//\'/\'\\\'\'}"'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment