mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-23 04:52:08 +00:00
More cleanup
This commit is contained in:
parent
905550657b
commit
2cce47a87f
5
src/tomb
5
src/tomb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user