fixup! Make initialization for the "err" library into a subsystem.

Check for failure to install backtrace handler.
This commit is contained in:
Nick Mathewson 2018-11-09 11:00:31 -05:00
parent 61695e3d62
commit e80595f562

View File

@ -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;