tSilence mount error when retrying to close tomb - tomb - the crypto undertaker (HTM) git clone git://parazyd.org/tomb.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 1c9ec0c4f7e150010efdc7e1e0c84c47dbc83cc4 (DIR) parent 9e8bd1924be688b541b1d7c3ca89206f419d19e6 (HTM) 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: M src/tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/src/tomb b/src/tomb t@@ -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 '