aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-27 02:54:59 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-27 02:54:59 +0900
commite9216547244c20f771ac81fcf74257e2df8371ef (patch)
treee4d77452a70676d0ac029334a78ff472eae7aab1 /pbuilder-buildpackage-funcs
parent2723d87530364226d6c9018d0d09b1827fcbe5ae (diff)
downloadpbuilder-e9216547244c20f771ac81fcf74257e2df8371ef.tar
pbuilder-e9216547244c20f771ac81fcf74257e2df8371ef.tar.gz
trap SIGHUP as well as EXIT.
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 0619802..9104d27 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
+ trap umountproc exit sighup
fi
echo "E: pbuilder-satisfydepends failed." >&2
exit 2