mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 20:45:13 +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"
|
||||
elif ! [ -x $CMD3 ]; then
|
||||
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
|
||||
else
|
||||
tombmount=$CMD3
|
||||
|
Loading…
Reference in New Issue
Block a user