diff --git a/src/util-daemon.c b/src/util-daemon.c index dad536b8ff..9215d3b73d 100644 --- a/src/util-daemon.c +++ b/src/util-daemon.c @@ -133,6 +133,8 @@ void Daemonize (void) { exit(EXIT_FAILURE); } */ + chdir("/"); + SetupLogging(); /* Child is ready, tell its parent */