tbetter close messages - tomb - the crypto undertaker
 (HTM) git clone git://parazyd.org/tomb.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit bdef8853d58d557c06c6a379c135e2677f64b6c1
 (DIR) parent ac0dcd9acc8a8f4952e2fa297cdfc11642815e60
 (HTM) Author: Jaromil <jaromil@dyne.org>
       Date:   Thu, 26 May 2011 18:38:36 +0200
       
       better close messages
       
       Diffstat:
         M src/tomb                            |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/tomb b/src/tomb
       t@@ -739,7 +739,7 @@ umount_tomb() {
                    return 1
                elif [ "$how_many_tombs" = "1" ]; then
                    #mapper=`find /dev/mapper -name 'tomb.*'`
       -            notice "Closing $tombs"
       +            func "closing mapper $tombs"
                    umount_tomb ${tombs}
                    return 1
                else
       t@@ -846,7 +846,7 @@ umount_tomb() {
            fi
        
            if [ $tombmount ]; then # tomb is actively mounted
       -        act "closing tomb $tombname mounted on $tombmount"
       +        func "performing umount of $tombmount"
                umount ${tombmount} 2> /dev/null
                if ! [ $? = 0 ]; then
                    error "Tomb is busy, cannot umount!"