diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-14 18:44:11 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-14 18:44:11 +0000 |
commit | f898121ceac5adb05702259410998d9d5e32367d (patch) | |
tree | d879db0a12944efcdec78aa6d7b155580e5b08e6 /run-bootstrap-in-chroot | |
parent | 3d57e79f596bc82595b8c667d384ff72a5ec76f5 (diff) | |
download | morph-f898121ceac5adb05702259410998d9d5e32367d.tar.gz |
When unmounting proc, sys, also unmount them from the inner chroot
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-x | run-bootstrap-in-chroot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot index 9cd55604..9864337d 100755 --- a/run-bootstrap-in-chroot +++ b/run-bootstrap-in-chroot @@ -6,6 +6,8 @@ unmount_virtual() { umount "$1/proc" || true umount "$1/sys" || true + umount "$1/tree/proc" || true + umount "$1/tree/sys" || true } export LC_ALL=C |