mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-05 04:47:56 +00:00
better close messages
This commit is contained in:
parent
ac0dcd9acc
commit
bdef8853d5
4
src/tomb
4
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!"
|
||||
|
Loading…
Reference in New Issue
Block a user