mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
r18632@catbus: nickm | 2008-03-05 17:38:52 -0500
Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13876
This commit is contained in:
parent
f56ba5f3d6
commit
670f4c19af
@ -179,7 +179,7 @@ parse_commandline(int argc, char **argv)
|
||||
make_new_id = 1;
|
||||
} else if (!strcmp(argv[i], "--passphrase-fd")) {
|
||||
if (i+1>=argc) {
|
||||
fprintf(stderr, "No argument to -m\n");
|
||||
fprintf(stderr, "No argument to --passphrase-fd\n");
|
||||
return 1;
|
||||
}
|
||||
passphrase_fd = atoi(argv[++i]);
|
||||
|
Loading…
Reference in New Issue
Block a user