commit:     f04391f7be5b822c23c07fce1dcbda8640a103ed
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Tue May 31 13:45:40 2016 +0000
Commit:     M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Tue May 31 14:06:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=f04391f7

make umounts --lazy for chroot-here.sh

 tools/chroot-here.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/chroot-here.sh b/tools/chroot-here.sh
index 7c20805..63442b6 100755
--- a/tools/chroot-here.sh
+++ b/tools/chroot-here.sh
@@ -64,7 +64,7 @@ function mountDir() {
 function umountDir() {
   local dir=$1
   echo -n "Unmounting ${dir} ... "
-  umount "${PWD}/${dir}" 2&>/dev/null
+  umount --lazy "${PWD}/${dir}" 2&>/dev/null
   echo "done."
 }
 

Reply via email to