Ticket #9030: 0001-Fix-tor-fw-helper-exit-code.patch

File 0001-Fix-tor-fw-helper-exit-code.patch, 711 bytes (added by arlolra, 7 years ago)
  • src/tools/tor-fw-helper/tor-fw-helper.c

    From 0832a2e566d86a226e0dc2e37fba453d88b04b6e Mon Sep 17 00:00:00 2001
    From: Arlo Breault <arlolra@gmail.com>
    Date: Fri, 7 Jun 2013 11:24:39 -0700
    Subject: [PATCH] Fix tor-fw-helper exit code.
    
    It's returning the number of initialized backends.
    ---
     src/tools/tor-fw-helper/tor-fw-helper.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/tools/tor-fw-helper/tor-fw-helper.c b/src/tools/tor-fw-helper/tor-fw-helper.c
    index bb6e70a..84cc21e 100644
    a b main(int argc, char **argv) 
    496496    smartlist_free(tor_fw_options.ports_to_forward);
    497497  }
    498498
    499   exit(r);
     499  exit(0);
    500500}
    501501