tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 1c9ec0c4f7e150010efdc7e1e0c84c47dbc83cc4
parent 9e8bd1924be688b541b1d7c3ca89206f419d19e6
Author: Hellekin O. Wolf =8) <hellekin@cepheide.org>
Date:   Sat, 12 Feb 2011 12:48:16 +0100

Silence mount error when retrying to close tomb

Diffstat:
Msrc/tomb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tomb b/src/tomb @@ -877,7 +877,7 @@ umount_tomb() { tombmount=`mount | grep $mapper | awk '{print $3}'` # check if there are binded dirs and close them first - mount | grep "${tombmount}" | grep -v loop 2>&1 > /dev/null + mount | grep "${tombmount}" 2>/dev/null | grep -v loop 2>&1 > /dev/null if [ $? = 0 ]; then act "closing bind hooks for tomb $tombname " unbind=`mount | grep ${tombmount} | grep -v loop | awk '