diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/log.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/log.c b/src/shared/log.c index af6a983087..70708cbf0e 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -186,12 +186,6 @@ int log_open(void) { getpid() == 1 || isatty(STDERR_FILENO) <= 0) { - if (log_target == LOG_TARGET_AUTO) - if (r >= 0) { - log_close_syslog(); - log_close_console(); - return r; - } if (log_target == LOG_TARGET_SYSLOG_OR_KMSG || log_target == LOG_TARGET_SYSLOG) { r = log_open_syslog(); |