This commit is contained in:
Bob Mottram 2015-07-04 14:05:22 +01:00
parent ab0874427e
commit 8a74b9cd7b
1 changed files with 4 additions and 2 deletions

View File

@ -255,7 +255,8 @@ function interactive_gpg_from_remote {
# check the number of entries in the file # check the number of entries in the file
no_of_servers=$(cat $REMOTE_SERVERS_LIST | wc -l) no_of_servers=$(cat $REMOTE_SERVERS_LIST | wc -l)
if [[ ${no_of_servers} < 3 ]]; then if [[ ${no_of_servers} < 3 ]]; then
dialog --title "Encryption keys" --msgbox 'There must be at least three servers to recover the key' 6 70 dialog --title "Encryption keys" \
--msgbox 'There must be at least three servers to recover the key' 6 70
return 2 return 2
fi fi
@ -308,7 +309,8 @@ function reconstruct_key {
} }
function interactive_gpg_from_usb { function interactive_gpg_from_usb {
dialog --title "Encryption keys" --msgbox 'Plug in a USB drive containing a copy of your full key or key fragment' 6 70 dialog --title "Encryption keys" \
--msgbox 'Plug in a USB drive containing a copy of your full key or key fragment' 6 70
GPG_LOADING="yes" GPG_LOADING="yes"
GPG_CTR=0 GPG_CTR=0