diff --git a/src/freedombone-keydrive b/src/freedombone-keydrive index 0f839f58..6baea3d6 100755 --- a/src/freedombone-keydrive +++ b/src/freedombone-keydrive @@ -191,6 +191,7 @@ no_of_usb_shares=$(ls -afq $FRAGMENTS_DIR/keyshare.asc.* | wc -l) no_of_usb_shares=$((no_of_usb_shares - 2)) if (( no_of_usb_shares != 1 )); then echo "There was a problem copying the key fragment to $USB_DRIVE" + ls $FRAGMENTS_DIR umount $USB_MOUNT rm -rf $USB_MOUNT exit 54292