]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix tor-fw-helper exit code.
authorArlo Breault <arlolra@gmail.com>
Fri, 7 Jun 2013 18:24:39 +0000 (11:24 -0700)
committerNick Mathewson <nickm@torproject.org>
Mon, 10 Jun 2013 18:28:21 +0000 (14:28 -0400)
It's returning the number of initialized backends.

(changes file added by nickm; this is a fix for bug #9030)

changes/bug9030 [new file with mode: 0644]
src/tools/tor-fw-helper/tor-fw-helper.c

diff --git a/changes/bug9030 b/changes/bug9030
new file mode 100644 (file)
index 0000000..d0be582
--- /dev/null
@@ -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.
index bb6e70aaa3cdddc2f036fd1b3ae3a14cbd5bcc73..84cc21e34651863eddb63e274a89112692730f81 100644 (file)
@@ -496,6 +496,6 @@ main(int argc, char **argv)
     smartlist_free(tor_fw_options.ports_to_forward);
   }
 
-  exit(r);
+  exit(0);
 }