forked from I2P_Developers/i2p.i2p
PrivateKeyFile: Don't rewrite file in main() if no options
This commit is contained in:
@ -169,9 +169,11 @@ public class PrivateKeyFile {
|
|||||||
usage();
|
usage();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
System.out.println(pkf);
|
if (mode != 0) {
|
||||||
pkf.write();
|
System.out.println(pkf);
|
||||||
verifySignature(pkf.getDestination());
|
pkf.write();
|
||||||
|
verifySignature(pkf.getDestination());
|
||||||
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
|
Reference in New Issue
Block a user