diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-10-20 11:15:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-20 11:39:17 -0400 |
commit | 1df43aff41eb8198712af0aa14ec2d574b26682c (patch) | |
tree | c266322db182ee294c0d3adf570474fc4e36871e /src/or/ntmain.c | |
parent | 853e73e815c1be9c9e533160f803de56e7d21147 (diff) | |
download | tor-1df43aff41eb8198712af0aa14ec2d574b26682c.tar.gz tor-1df43aff41eb8198712af0aa14ec2d574b26682c.zip |
Return instead of exiting in options_init_from_torrc()
Diffstat (limited to 'src/or/ntmain.c')
-rw-r--r-- | src/or/ntmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c index 9ce03e1f5a..ebbe0018bd 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -318,7 +318,7 @@ nt_service_main(void) printf("Service error %d : %s\n", (int) result, errmsg); tor_free(errmsg); if (result == ERROR_FAILED_SERVICE_CONTROLLER_CONNECT) { - if (tor_init(backup_argc, backup_argv) < 0) + if (tor_init(backup_argc, backup_argv)) return; switch (get_options()->command) { case CMD_RUN_TOR: |