mirror of
https://github.com/tmate-io/tmate
synced 2020-11-18 19:53:50 -08:00
change log files prefix tmux- to tmate-
This commit is contained in:
parent
9b2778c439
commit
834fbfed0a
2
log.c
2
log.c
@ -65,7 +65,7 @@ log_open(const char *name)
|
|||||||
if (log_file != NULL)
|
if (log_file != NULL)
|
||||||
fclose(log_file);
|
fclose(log_file);
|
||||||
|
|
||||||
xasprintf(&path, "tmux-%s-%ld.log", name, (long)getpid());
|
xasprintf(&path, "tmate-%s-%ld.log", name, (long)getpid());
|
||||||
log_file = fopen(path, "w");
|
log_file = fopen(path, "w");
|
||||||
free(path);
|
free(path);
|
||||||
if (log_file == NULL)
|
if (log_file == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user