|
@@ -147,7 +147,9 @@ function interactive_gpg_from_usb {
|
147
|
147
|
fi
|
148
|
148
|
fi
|
149
|
149
|
|
150
|
|
- backup_unmount_drive ${USB_DRIVE}
|
|
150
|
+ if [ -d $USB_MOUNT ]; then
|
|
151
|
+ backup_unmount_drive ${USB_DRIVE}
|
|
152
|
+ fi
|
151
|
153
|
if [[ $GPG_LOADING == "yes" ]]; then
|
152
|
154
|
dialog --title $"Recover Encryption Keys" \
|
153
|
155
|
--msgbox $"Now remove the USB drive. Insert the next drive containing a key fragment, or select Ok to finish" 6 70
|