Unmounting usb drive

This commit is contained in:
Bob Mottram 2016-10-27 15:25:09 +01:00
parent 750d83ffa8
commit a2c59b9e79
1 changed files with 3 additions and 1 deletions

View File

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