Commit af6c0a0f authored by Dave Reisner's avatar Dave Reisner

common.sh: propagate error through trap_exit

Fixes a breakage introduced in 6db31cc1 which leads to errors
being masked from makechrootpkg.
parent 90519829
......@@ -79,8 +79,9 @@ trap_abort() {
}
trap_exit() {
local r=$?
trap - EXIT INT QUIT TERM HUP
cleanup
cleanup $r
}
die() {
......
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