mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
fixup! Make initialization for the "err" library into a subsystem.
Check for failure to install backtrace handler.
This commit is contained in:
parent
61695e3d62
commit
e80595f562
@ -18,7 +18,8 @@
|
||||
static int
|
||||
torerr_subsys_init(void)
|
||||
{
|
||||
configure_backtrace_handler(get_version());
|
||||
if (configure_backtrace_handler(get_version()) < 0)
|
||||
return -1;
|
||||
tor_log_reset_sigsafe_err_fds();
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user