treally fail to not overwrite keys when forging - tomb - the crypto undertaker
 (HTM) git clone git://parazyd.org/tomb.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e6075d08ce05432bb3a99dc43c077c92a3dff284
 (DIR) parent fb686db8ebd53f13cdd421b809b9500421ce78f8
 (HTM) Author: Jaromil <jaromil@dyne.org>
       Date:   Mon, 24 Nov 2014 20:06:23 +0100
       
       really fail to not overwrite keys when forging
       
       Diffstat:
         M tomb                                |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/tomb b/tomb
       t@@ -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)" }