More cleanup

This commit is contained in:
Hellekin O. Wolf =8) 2011-02-11 17:45:54 +01:00 committed by Jaromil
parent 905550657b
commit 2cce47a87f

View File

@ -557,6 +557,11 @@ mount_tomb() {
act "mountpoint not specified, using default: $tombmount" act "mountpoint not specified, using default: $tombmount"
elif ! [ -x $CMD3 ]; then elif ! [ -x $CMD3 ]; then
error "mountpoint $CMD3 doesn't exist, operation aborted." error "mountpoint $CMD3 doesn't exist, operation aborted."
if [ -n "$usbkey_mount" ]; then
umount $usbkey_mount
rmdir $usbkey_mount
unset $usbkey_mount
fi
return 1 return 1
else else
tombmount=$CMD3 tombmount=$CMD3