aboutsummaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-24 14:07:28 +0000
committerOmar Polo <op@omarpolo.com>2023-07-24 14:07:28 +0000
commite075021085c1b1f8d28c35d2f358f7792980b0d1 (patch)
tree9753bd8c0e9e4f6feb963e68ca69a0ab28856ee8 /logger.c
parente5f060f0d209b0d77bfcf0e087dca70702c8c14a (diff)
still respect `log' when in debug mode
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index 97de201..5cdabca 100644
--- a/logger.c
+++ b/logger.c
@@ -37,7 +37,7 @@
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
#endif
-static int logfd = 2; /* stderr */
+static int logfd = -1;
static void logger_init(struct privsep *, struct privsep_proc *, void *);
static void logger_shutdown(void);