Fix tor-fw-helper exit code.

It's returning the number of initialized backends.

(changes file added by nickm; this is a fix for bug #9030)
This commit is contained in:
Arlo Breault 2013-06-07 11:24:39 -07:00 committed by Nick Mathewson
parent c94f6b228b
commit 6fc3997307
2 changed files with 5 additions and 1 deletions

4
changes/bug9030 Normal file
View File

@ -0,0 +1,4 @@
o Minor bugfixes:
- The tor-fw-helper program now follows the standard convention and
exits with status code "0" on success. Fixes bug 9030; bugfix on
0.2.3.1-alpha. Patch by Arlo Breault.

View File

@ -496,6 +496,6 @@ main(int argc, char **argv)
smartlist_free(tor_fw_options.ports_to_forward); smartlist_free(tor_fw_options.ports_to_forward);
} }
exit(r); exit(0);
} }