From e9216547244c20f771ac81fcf74257e2df8371ef Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sun, 27 May 2007 02:54:59 +0900 Subject: trap SIGHUP as well as EXIT. --- pbuilder-user-mode-linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-user-mode-linux') 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. -- cgit v1.2.3