summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-05-30 15:01:21 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-05-30 15:01:21 +0000
commit021e95b09ff8f07749bc45d61f8d7ca24a623263 (patch)
treec60454f3584b6334310921e04ef193be7bb763b6 /tmux.c
parentdb20f2d907caaa44797ec2f062903ba060aa4374 (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 468d37f7..ad632be0 100644
--- a/tmux.c
+++ b/tmux.c
@@ -70,7 +70,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);