diff --git a/src/freedombone-config b/src/freedombone-config index 48cb098b..3e1835da 100755 --- a/src/freedombone-config +++ b/src/freedombone-config @@ -374,14 +374,14 @@ function interactive_gpg_from_usb { if [ ! -d $GPG_USB_MOUNT/.gnupg ]; then if [ ! -d $GPG_USB_MOUNT/.gnupg_fragments ]; then if [[ ${GPG_CTR} > 0 ]]; then - umount $GPG_USB_MOUNT + umount -f $GPG_USB_MOUNT rm -rf $GPG_USB_MOUNT reconstruct_key return 0 fi dialog --title "Encryption keys" \ --msgbox "The directory $GPG_USB_MOUNT/.gnupg or $GPG_USB_MOUNT/.gnupg_fragments was not found" 6 70 - umount $GPG_USB_MOUNT + umount -f $GPG_USB_MOUNT rm -rf $GPG_USB_MOUNT exit 723814 fi @@ -398,7 +398,7 @@ function interactive_gpg_from_usb { cp $GPG_USB_MOUNT/.ssh/* /home/$(grep 'MY_USERNAME' temp.cfg | awk -F '=' '{print $2}')/.ssh fi - umount $GPG_USB_MOUNT + umount -f $GPG_USB_MOUNT rm -rf $GPG_USB_MOUNT if [[ $GPG_LOADING == "yes" ]]; then dialog --title "Encryption keys" \