From eed7d9b47371531ce185f80b4be5bcba3da96955 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 30 May 2012 15:01:57 +0000 Subject: Do not use stderr for log file and don't call log_close when not needed. --- tmux.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tmux.c') 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); -- cgit