Commit af6c0a0f authored by Dave Reisner's avatar Dave Reisner
Browse files

common.sh: propagate error through trap_exit

Fixes a breakage introduced in 6db31cc1 which leads to errors
being masked from makechrootpkg.
parent 90519829
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,8 +79,9 @@ trap_abort() {
}

trap_exit() {
	local r=$?
	trap - EXIT INT QUIT TERM HUP
	cleanup
	cleanup $r
}

die() {