aboutsummaryrefslogtreecommitdiff
path: root/pbuilder
diff options
context:
space:
mode:
authordancer <dancer>2002-01-27 12:27:03 +0000
committerdancer <dancer>2002-01-27 12:27:03 +0000
commit076f814f3d8216a1a7f63dbf7c8e0522d05965ad (patch)
tree410f7970803ebf245ebb3711419ff325758b22e2 /pbuilder
parent2947553d0cf463a35e29313b3397a7d4119803bb (diff)
downloadpbuilder-076f814f3d8216a1a7f63dbf7c8e0522d05965ad.tar
pbuilder-076f814f3d8216a1a7f63dbf7c8e0522d05965ad.tar.gz
modified the cleaning process to the one using trap, for create, update, and login methods.
build is not modified (yet)
Diffstat (limited to 'pbuilder')
-rwxr-xr-xpbuilder3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbuilder b/pbuilder
index ccee45f..ca89bd9 100755
--- a/pbuilder
+++ b/pbuilder
@@ -38,10 +38,9 @@ case "$1" in
shift
. /usr/lib/pbuilder/pbuilder-checkparams
extractbuildplace
+ trap umountproc_cleanbuildplace exit
echo " -> entering the shell"
chroot "$BUILDPLACE" bin/bash
- umountproc
- cleanbuildplace
;;
*)
. /usr/lib/pbuilder/pbuilder-modules