aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
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-user-mode-linux
parent2723d87530364226d6c9018d0d09b1827fcbe5ae (diff)
downloadpbuilder-e9216547244c20f771ac81fcf74257e2df8371ef.tar
pbuilder-e9216547244c20f771ac81fcf74257e2df8371ef.tar.gz
trap SIGHUP as well as EXIT.
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-xpbuilder-user-mode-linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux
index 53bbea1..ca1a1a4 100755
--- a/pbuilder-user-mode-linux
+++ b/pbuilder-user-mode-linux
@@ -51,7 +51,7 @@ function operate_uml () {
# opeartes on UML, and runs pbuilder $1
# use this script file to bootstrap the pbuilder inside the UML
INSIDE_PBUILDER=$(tempfile)
- trap cleanup_function exit
+ trap cleanup_function exit sighup
UML_CHROOT_MOUNTPOINT=/var/cache/pbuilder/pbuilder-mnt
UML_CHROOT_BUILDRESULTMOUNTDIR=/var/cache/pbuilder/pbuilder-umlresult
#The following script is ran inside UML as soon as it is started.