mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
2d843b5021
2
server.c
2
server.c
@ -260,7 +260,7 @@ server_update_socket(void)
|
|||||||
|
|
||||||
if (stat(socket_path, &sb) != 0)
|
if (stat(socket_path, &sb) != 0)
|
||||||
return;
|
return;
|
||||||
mode = sb.st_mode;
|
mode = sb.st_mode & ACCESSPERMS;
|
||||||
if (n != 0) {
|
if (n != 0) {
|
||||||
if (mode & S_IRUSR)
|
if (mode & S_IRUSR)
|
||||||
mode |= S_IXUSR;
|
mode |= S_IXUSR;
|
||||||
|
Loading…
Reference in New Issue
Block a user