diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-05-13 06:59:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-05-13 07:00:24 +0200 |
commit | d150fdd58aa5b188d6e0d2bafb2fcc87430e1786 (patch) | |
tree | 9372d628ff65c901d6dd4f9969f0343f6858ab90 /src/tcpproxy.c | |
parent | fix exit-code after signal (diff) |
cleanup after signale fixed
Diffstat (limited to 'src/tcpproxy.c')
-rw-r--r-- | src/tcpproxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tcpproxy.c b/src/tcpproxy.c index a22744a..a328f26 100644 --- a/src/tcpproxy.c +++ b/src/tcpproxy.c @@ -238,6 +238,7 @@ int main(int argc, char* argv[]) log_printf(NOTICE, "shutdown after error"); else { log_printf(NOTICE, "shutdown after signal"); + log_close(); kill(getpid(), ret); } |