Basically, what I’m suggesting is
# Run user scripts.
cylc__job__run_user_scripts() {
typeset func_name=
for func_name in 'env_script' 'user_env' 'pre_script' \
'script' 'post_script'; do
cylc__job__run_inst_func "${func_name}"
done
}
Gets changed to the below to handle set +e
being off.
# Run user scripts.
cylc__job__run_user_scripts() {
typeset func_name=
for func_name in 'env_script' 'user_env' 'pre_script' \
'script' 'post_script'; do
cylc__job__run_inst_func "${func_name}" || return $?
done
}
I think that would cover someone doing set +e
?