summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorblueness <basile@opensource.dyc.edu>2015-01-21 07:12:39 -0500
committerblueness <basile@opensource.dyc.edu>2015-01-21 07:12:39 -0500
commit877de5b8ee5584091c8c10476878324a44467f73 (patch)
tree4e71b4fc28129b931cec1e18449d0b6c7a587c15 /src
parent39b17cdaa81dd827fc846fce68e976789f6dcf27 (diff)
parent470e2cecec1e5a3f12cdb5d7c9e0f5c8bfa32cfa (diff)
Merge pull request #99 from zaufi/master
Remove some garbage code inherited from `systemd`
Diffstat (limited to 'src')
-rw-r--r--src/shared/log.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/log.c b/src/shared/log.c
index 61fe00fc38..92361b0cbc 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -188,12 +188,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();