mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Put setproctitle back under HAVE_SETPROCTITLE.
This commit is contained in:
4
client.c
4
client.c
@ -1,4 +1,4 @@
|
||||
/* $Id: client.c,v 1.99 2010-10-24 01:31:08 tcunha Exp $ */
|
||||
/* $Id: client.c,v 1.100 2010-10-24 19:54:41 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -157,7 +157,9 @@ client_main(int argc, char **argv, int flags)
|
||||
}
|
||||
|
||||
/* Set process title, log and signals now this is the client. */
|
||||
#ifdef HAVE_SETPROCTITLE
|
||||
setproctitle("client (%s)", socket_path);
|
||||
#endif
|
||||
logfile("client");
|
||||
|
||||
/* Create imsg. */
|
||||
|
Reference in New Issue
Block a user