diff options
author | Matthew Brewer <tomboy64@sina.cn> | 2016-05-31 15:45:40 +0200 |
---|---|---|
committer | Matthew Brewer <tomboy64@sina.cn> | 2016-05-31 16:06:07 +0200 |
commit | f04391f7be5b822c23c07fce1dcbda8640a103ed (patch) | |
tree | bf381a17209f2d15a0c57d82c1dbdc028287d34b /tools/chroot-here.sh | |
parent | update jcpp and jsemver (diff) | |
download | tbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.tar.gz tbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.tar.bz2 tbc-f04391f7be5b822c23c07fce1dcbda8640a103ed.zip |
make umounts --lazy for chroot-here.sh
Diffstat (limited to 'tools/chroot-here.sh')
-rwxr-xr-x | tools/chroot-here.sh | 2 |
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." } |