mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Log socket path so I can tell which tmux log is which.
This commit is contained in:
3
server.c
3
server.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: server.c,v 1.125 2009-03-04 17:33:30 nicm Exp $ */
|
/* $Id: server.c,v 1.126 2009-03-05 20:24:41 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -176,6 +176,7 @@ server_start(const char *path)
|
|||||||
setproctitle("server (%s)", path);
|
setproctitle("server (%s)", path);
|
||||||
#endif
|
#endif
|
||||||
log_debug("server started, pid %ld", (long) getpid());
|
log_debug("server started, pid %ld", (long) getpid());
|
||||||
|
log_debug("socket path %s", socket_path);
|
||||||
|
|
||||||
memset(&sa, 0, sizeof sa);
|
memset(&sa, 0, sizeof sa);
|
||||||
sa.sun_family = AF_UNIX;
|
sa.sun_family = AF_UNIX;
|
||||||
|
Reference in New Issue
Block a user