commit:     17b2f77b821ac7816945f1cdbb2f1fef7310d0df
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 13:45:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=17b2f77b

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