added extension .tomb.key to a specified key file (-k param)

This commit is contained in:
Anathema 2011-08-29 23:52:50 +02:00
parent 9fbb620c60
commit d486c45f53

View File

@ -366,7 +366,7 @@ create_tomb() {
fi fi
if option_is_set -k; then if option_is_set -k; then
tombkey=`option_value -k` tombkey="`option_value -k`.tomb.key"
else else
tombkey="${tombdir}/${tombfile}.key" tombkey="${tombdir}/${tombfile}.key"
fi fi
@ -436,7 +436,7 @@ create_tomb() {
exit 1 exit 1
fi fi
notice "Setup your secret key file ${tombname}.tomb.key" notice "Setup your secret key file ${tombkey}"
# here user is prompted for key password # here user is prompted for key password
for c in 1 2 3; do for c in 1 2 3; do