mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
log_open() isn't conditional on proctitle
This commit is contained in:
parent
260de2cb5e
commit
a1bc339340
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user