log_open() isn't conditional on proctitle

pull/218/head
Thomas Adam 2015-11-25 16:51:17 +00:00
parent 260de2cb5e
commit a1bc339340
1 changed files with 2 additions and 1 deletions

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