Skip to content
Snippets Groups Projects
Commit 6aa373e1 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

fix exit code capture from handlers

parent 90bcd2a1
No related branches found
No related tags found
No related merge requests found
......@@ -375,8 +375,8 @@ function process_action() {
[ $debug ] && colorize "$a"
done
)
retcode=$?
# ^^^^^^^^ we have a problem! we can't grab the return code "$?". grrr.
retcode=${PIPESTATUS[0]}
debug "handler returned exit code $retcode"
echo_debug_msg=0
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment