diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index d9a4b81de5..ed8d677d94 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -26,6 +26,9 @@ void get_netdata_execution_path(void) { } netdata_exe_file[exepath_size] = '\0'; +#ifdef ENABLE_LIBBACKTRACE + bt_init(netdata_exe_file, netdata_configured_cache_dir); +#endif // macOS's dirname(3) does not modify passed string char *tmpdir = strdupz(netdata_exe_file); |