summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-10-31 23:56:35 +0000
committerThomas Adam <thomas@xteddy.org>2015-10-31 23:56:35 +0000
commitc975de2e07bdb21c85fc4f2c14a17bc00ca63aff (patch)
tree70ff97109da24dc7273b59df6ef6a9f298e16c48 /server.c
parent17f6c3be8eeb0b67d07f916026dab918795c0317 (diff)
parentba7fb49fb9b972a03547381783abe91be3fcfa37 (diff)
Merge branch 'obsd-master'
Conflicts: server.c
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.c b/server.c
index ca1b9b1f..3bd51cac 100644
--- a/server.c
+++ b/server.c
@@ -172,6 +172,9 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
}
close(pair[0]);
+ if (debug_level > 3)
+ tty_create_log();
+
#ifdef __OpenBSD__
if (pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
"ps", NULL) != 0)