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 13:46:23
Message-Id: 1464702353.17b2f77b821ac7816945f1cdbb2f1fef7310d0df.tomboy64@gentoo
1 commit: 17b2f77b821ac7816945f1cdbb2f1fef7310d0df
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 13:45:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=17b2f77b
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 }