tMore cleanup - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 0396acd2360b3793005e4638f4da896c3b29965a
DIR parent a5abc068123c23ec782d59869ec2b83d94662c6e
HTML Author: Hellekin O. Wolf =8) <hellekin@cepheide.org>
Date: Fri, 11 Feb 2011 17:45:54 +0100
More cleanup
Diffstat:
M src/tomb | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
DIR diff --git a/src/tomb b/src/tomb
t@@ -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