diff options
-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); } |