From bdef8853d58d557c06c6a379c135e2677f64b6c1 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Thu, 26 May 2011 18:38:36 +0200 Subject: [PATCH] better close messages --- src/tomb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tomb b/src/tomb index 5fc5c28..77c025a 100755 --- a/src/tomb +++ b/src/tomb @@ -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 @@ -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!"