diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-04-09 08:30:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-04-09 08:30:14 -0400 |
commit | c2aea6134a3333bbace155f37fcabf8a5b4e2744 (patch) | |
tree | 14be9ba0a8012edecb0136a94a4194ec3d47d6d3 /src/lib/err/torerr_sys.c | |
parent | 1ae0839ef24d303f77cec165df5223a66131567c (diff) | |
parent | e849881d3ad80e46bc4297d2cf9651f3f7d039cc (diff) | |
download | tor-c2aea6134a3333bbace155f37fcabf8a5b4e2744.tar.gz tor-c2aea6134a3333bbace155f37fcabf8a5b4e2744.zip |
Merge remote-tracking branch 'tor-github/pr/1723/head' into maint-0.4.3
Diffstat (limited to 'src/lib/err/torerr_sys.c')
-rw-r--r-- | src/lib/err/torerr_sys.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/err/torerr_sys.c b/src/lib/err/torerr_sys.c index aa49ba36bd..46fc853550 100644 --- a/src/lib/err/torerr_sys.c +++ b/src/lib/err/torerr_sys.c @@ -27,11 +27,9 @@ subsys_torerr_initialize(void) static void subsys_torerr_shutdown(void) { - /* Stop handling signals with backtraces, then close the logs. */ + /* Stop handling signals with backtraces, then flush the logs. */ clean_up_backtrace_handler(); - /* We can't log any log messages after this point: we've closed all the log - * fds, including stdio. */ - tor_log_close_sigsafe_err_fds(); + tor_log_flush_sigsafe_err_fds(); } const subsys_fns_t sys_torerr = { |