log_open() isn't conditional on proctitle

This commit is contained in:
Thomas Adam 2015-11-25 16:51:17 +00:00
parent 260de2cb5e
commit a1bc339340

3
proc.c
View File

@ -188,8 +188,9 @@ proc_start(const char *name, struct event_base *base, int forkflag,
fatalx("event_reinit failed");
}
#ifdef HAVE_SETPROCTITLE
log_open(name);
#ifdef HAVE_SETPROCTITLE
setproctitle("%s (%s)", name, socket_path);
#endif