mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
patch from edmanm to make "-nt-service" command-line work too
svn:r9349
This commit is contained in:
+2
-1
@@ -1066,7 +1066,8 @@ config_get_commandlines(int argc, char **argv, config_line_t **result)
|
||||
!strcmp(argv[i],"--verify-config")) {
|
||||
i += 1; /* command-line option. ignore it. */
|
||||
continue;
|
||||
} else if (!strcmp(argv[i],"--nt-service")) {
|
||||
} else if (!strcmp(argv[i],"--nt-service") ||
|
||||
!strcmp(argv[i],"-nt-service")) {
|
||||
i += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user