mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 12:35:13 +00:00
notice after error
This commit is contained in:
parent
0396acd236
commit
7756dc1610
4
src/tomb
4
src/tomb
@ -535,10 +535,10 @@ mount_tomb() {
|
|||||||
elif [ -r "$tombdir/$tombkey" ]; then
|
elif [ -r "$tombdir/$tombkey" ]; then
|
||||||
tombkeypath="$tombdir/$tombkey"
|
tombkeypath="$tombdir/$tombkey"
|
||||||
else
|
else
|
||||||
notice "please insert your USB KEY"
|
|
||||||
error "encryption key ${enc_key} not found on disk"
|
error "encryption key ${enc_key} not found on disk"
|
||||||
error "use -k option to specify which key to use"
|
error "use -k option to specify which key to use"
|
||||||
error "or provide a usb key, or press ctrl-c to abort"
|
error "provide a usb key now, or press ctrl-c to abort"
|
||||||
|
notice "please insert your USB KEY"
|
||||||
ask_usbkey
|
ask_usbkey
|
||||||
# returns usbkey_mount, now check if the key is there
|
# returns usbkey_mount, now check if the key is there
|
||||||
if [ -r ${usbkey_mount}/.tomb/${tombkey} ]; then
|
if [ -r ${usbkey_mount}/.tomb/${tombkey} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user