Browse Source

bt_print and bt_exit is enclosed in the conditional

ppa-0.6.1
Justin Litchfield 7 years ago
committed by Christian Decker
parent
commit
d3d195dd85
  1. 3
      common/daemon.c

3
common/daemon.c

@ -84,10 +84,9 @@ void daemon_setup(const char *argv0,
{
err_set_progname(argv0);
#if BACKTRACE_SUPPORTED
bt_print = backtrace_print;
bt_exit = backtrace_exit;
#if BACKTRACE_SUPPORTED
#if DEVELOPER
/* Suppresses backtrace (breaks valgrind) */
if (!getenv("LIGHTNINGD_DEV_NO_BACKTRACE"))

Loading…
Cancel
Save