mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Some extra logging to show why tmux might exit.
This commit is contained in:
3
server.c
3
server.c
@ -249,7 +249,7 @@ server_send_exit(void)
|
||||
}
|
||||
|
||||
RB_FOREACH_SAFE(s, sessions, &sessions, s1)
|
||||
session_destroy(s);
|
||||
session_destroy(s, __func__);
|
||||
}
|
||||
|
||||
/* Update socket execute permissions based on whether sessions are attached. */
|
||||
@ -347,6 +347,7 @@ server_signal(int sig)
|
||||
{
|
||||
int fd;
|
||||
|
||||
log_debug("%s: %s", __func__, strsignal(sig));
|
||||
switch (sig) {
|
||||
case SIGTERM:
|
||||
server_exit = 1;
|
||||
|
Reference in New Issue
Block a user