summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2012-05-30 15:01:57 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2012-05-30 15:01:57 +0000
commiteed7d9b47371531ce185f80b4be5bcba3da96955 (patch)
tree5d11bf5573e4a269fb2f9fa55b28ade78fa4827e /tmux.c
parentbf4b02cea2f4483c07de16e5d408adf3421c8c4f (diff)
Do not use stderr for log file and don't call log_close when not needed.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index a38f94d7..3f5e6cdf 100644
--- a/tmux.c
+++ b/tmux.c
@@ -73,7 +73,6 @@ logfile(const char *name)
{
char *path;
- log_close();
if (debug_level > 0) {
xasprintf(&path, "tmux-%s-%ld.log", name, (long) getpid());
log_open(debug_level, path);