really fail to not overwrite keys when forging

This commit is contained in:
Jaromil 2014-11-24 20:06:23 +01:00
parent fb686db8eb
commit e6075d08ce

4
tomb
View File

@ -1370,8 +1370,8 @@ forge_key() {
# Do not overwrite any files accidentally
[[ -r "$destkey" ]] && {
_warning "Forging this key would overwrite an existing file. Operation aborted."
ls -lh $destkey }
ls -lh $destkey
_failure "Forging this key would overwrite an existing file. Operation aborted." }
# Update algorithm if it was passed on the command line with -o
{ option_is_set -o } && { algopt="$(option_value -o)" }