summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index 0ed686b..f31696d 100644
--- a/src/log.c
+++ b/src/log.c
@@ -292,10 +292,7 @@ int setup_logging (void)
}
if (config.syslog) {
- if (config.godaemon == TRUE)
- openlog ("tinyproxy", LOG_PID, LOG_DAEMON);
- else
- openlog ("tinyproxy", LOG_PID, LOG_USER);
+ openlog ("tinyproxy", LOG_PID, LOG_USER);
}
logging_initialized = TRUE;