From 70600059722511dcbcdae59a7f57f1fdff8a1f7c Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sun, 27 May 2007 13:46:59 +0900 Subject: change "trap" handling so that all trap function calls are called _trap, and they will exit pbuilder after receiving a trap. --- pbuilder-buildpackage-funcs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-buildpackage-funcs') diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index 9104d27..d220c76 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -43,7 +43,7 @@ function checkbuilddep () { # If asked to preserve the build place, and pbuilder-satisfydepends # didn't taint it, then don't clean it when exiting. if [ $? -eq 2 -a "${PRESERVE_BUILDPLACE}" = "yes" ]; then - trap umountproc exit sighup + trap umountproc_trap exit sighup fi echo "E: pbuilder-satisfydepends failed." >&2 exit 2 -- cgit v1.2.3