mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-20 10:08:32 +02:00
log_open() isn't conditional on proctitle
This commit is contained in:
3
proc.c
3
proc.c
@@ -188,8 +188,9 @@ proc_start(const char *name, struct event_base *base, int forkflag,
|
|||||||
fatalx("event_reinit failed");
|
fatalx("event_reinit failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_SETPROCTITLE
|
|
||||||
log_open(name);
|
log_open(name);
|
||||||
|
|
||||||
|
#ifdef HAVE_SETPROCTITLE
|
||||||
setproctitle("%s (%s)", name, socket_path);
|
setproctitle("%s (%s)", name, socket_path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user