aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2016-05-31 15:45:40 +0200
committerMatthew Brewer <tomboy64@sina.cn>2016-05-31 16:06:07 +0200
commitf04391f7be5b822c23c07fce1dcbda8640a103ed (patch)
treebf381a17209f2d15a0c57d82c1dbdc028287d34b
parentupdate jcpp and jsemver (diff)
downloadtbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.tar.gz
tbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.tar.bz2
tbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.zip
make umounts --lazy for chroot-here.sh
-rwxr-xr-xtools/chroot-here.sh2
1 files changed, 1 insertions, 1 deletions
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."
}