X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=d6166dc9560b73954bbb5075c305b2331ceda099;hp=581e6845e37a29f00024544cf3bf1fa1a9f9aa14;hb=60b6fb7e72db7ac369862b58d3a4a4c7d346e250;hpb=48aff5437a0bc1e9fe2c769aa373530c689d2139 diff --git a/chroot-script b/chroot-script index 581e684..d6166dc 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 11:17:14 CET 2006 [mika] +# Latest change: Fre Nov 03 11:26:43 CET 2006 [mika] ################################################################################ set -e @@ -145,7 +145,10 @@ image=/boot/vmlinuz-2.6.17-grml EOF fi -# unmount all filesystems in chroot +# unmount all filesystems in chroot, make sure nothing is left... +umount -a +umount /proc +umount /proc umount -a # finally exit the chroot