summaryrefslogtreecommitdiffstats
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-16 16:21:55 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-16 16:21:55 +0200
commit246b8ead603db3c1a8bbc0ae1a0007bda3821c6c (patch)
tree40e3bec5d922dd2258c2636e72f42ad87cd2a484 /mkarchroot.in
parentb14a1b1bcc677637e135f4bfcbde65914d3e2f82 (diff)
downloaddevtools-246b8ead603db3c1a8bbc0ae1a0007bda3821c6c.tar.gz
devtools-246b8ead603db3c1a8bbc0ae1a0007bda3821c6c.tar.xz
mkarchroot: reset trap so it wont be called twice
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index c826b0a..5bcde76 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -153,6 +153,7 @@ copy_hostconf () {
}
chroot_umount () {
+ trap - EXIT INT QUIT TERM HUP
umount "${working_dir}/proc/sys"
umount "${working_dir}/proc"
umount "${working_dir}/sys"