I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5f2b6208 authored by zzz's avatar zzz
Browse files

PrivateKeyFile: Don't rewrite file in main() if no options

parent fd47cb88
No related branches found
No related tags found
No related merge requests found
......@@ -169,9 +169,11 @@ public class PrivateKeyFile {
usage();
return;
}
System.out.println(pkf);
pkf.write();
verifySignature(pkf.getDestination());
if (mode != 0) {
System.out.println(pkf);
pkf.write();
verifySignature(pkf.getDestination());
}
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment