mirror of
https://github.com/tmate-io/tmate.git
synced 2025-06-09 11:16:57 +02:00
log file rename
This commit is contained in:
parent
c04755361c
commit
42ac90ca49
2
tty.c
2
tty.c
@ -66,7 +66,7 @@ tty_create_log(void)
|
||||
{
|
||||
char name[64];
|
||||
|
||||
xsnprintf(name, sizeof name, "tmux-out-%ld.log", (long)getpid());
|
||||
xsnprintf(name, sizeof name, "tmate-out-%ld.log", (long)getpid());
|
||||
|
||||
tty_log_fd = open(name, O_WRONLY|O_CREAT|O_TRUNC, 0644);
|
||||
if (tty_log_fd != -1 && fcntl(tty_log_fd, F_SETFD, FD_CLOEXEC) == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user