r18634@catbus: nickm | 2008-03-05 17:39:44 -0500
Backport: Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13877
This commit is contained in:
parent
1cdf610622
commit
77edf15f0d
|
@ -178,7 +178,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