diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-10-24 19:54:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-10-24 19:54:41 +0000 |
commit | 8f842170239eea1b85821b314f9e5e8d12543c4a (patch) | |
tree | 9c0e2143bed11e4c775004c3e60ae722ab7dd7b1 /tmux.c | |
parent | 83447580b181db011325e84a752bee518fee8b5b (diff) | |
download | rtmux-8f842170239eea1b85821b314f9e5e8d12543c4a.tar.gz rtmux-8f842170239eea1b85821b314f9e5e8d12543c4a.tar.bz2 rtmux-8f842170239eea1b85821b314f9e5e8d12543c4a.zip |
Put setproctitle back under HAVE_SETPROCTITLE.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.220 2010-10-24 01:31:08 tcunha Exp $ */ +/* $Id: tmux.c,v 1.221 2010-10-24 19:54:41 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -471,8 +471,10 @@ main(int argc, char **argv) strlcpy(socket_path, path, sizeof socket_path); xfree(path); +#ifdef HAVE_SETPROCTITLE /* Set process title. */ setproctitle("%s (%s)", __progname, socket_path); +#endif /* Pass control to the client. */ #ifdef HAVE_BROKEN_KQUEUE |