mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Merge branch 'obsd-master'
This commit is contained in:
3
server.c
3
server.c
@ -248,7 +248,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. */
|
||||
@ -346,6 +346,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