aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 1 insertions, 1 deletions
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