Gentoo Archives: gentoo-commits

From: "M. B." <tomboy64@××××.cn>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/tbc:master commit in: tools/
Date: Tue, 31 May 2016 14:06:51
Message-Id: 1464703567.f04391f7be5b822c23c07fce1dcbda8640a103ed.tomboy64@gentoo
1 commit: f04391f7be5b822c23c07fce1dcbda8640a103ed
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Tue May 31 13:45:40 2016 +0000
4 Commit: M. B. <tomboy64 <AT> sina <DOT> cn>
5 CommitDate: Tue May 31 14:06:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=f04391f7
7
8 make umounts --lazy for chroot-here.sh
9
10 tools/chroot-here.sh | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/tools/chroot-here.sh b/tools/chroot-here.sh
14 index 7c20805..63442b6 100755
15 --- a/tools/chroot-here.sh
16 +++ b/tools/chroot-here.sh
17 @@ -64,7 +64,7 @@ function mountDir() {
18 function umountDir() {
19 local dir=$1
20 echo -n "Unmounting ${dir} ... "
21 - umount "${PWD}/${dir}" 2&>/dev/null
22 + umount --lazy "${PWD}/${dir}" 2&>/dev/null
23 echo "done."
24 }