From 8f842170239eea1b85821b314f9e5e8d12543c4a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 24 Oct 2010 19:54:41 +0000 Subject: Put setproctitle back under HAVE_SETPROCTITLE. --- tmux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index e02041c6..dd1d612c 100644 --- a/tmux.c +++ b/tmux.c @@ -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 @@ -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 -- cgit