diff options
author | blueness <basile@opensource.dyc.edu> | 2015-01-21 07:12:39 -0500 |
---|---|---|
committer | blueness <basile@opensource.dyc.edu> | 2015-01-21 07:12:39 -0500 |
commit | 877de5b8ee5584091c8c10476878324a44467f73 (patch) | |
tree | 4e71b4fc28129b931cec1e18449d0b6c7a587c15 | |
parent | src/udev/Makefile.am: fix build wrt udev-builtin-evdev_id.c (diff) | |
parent | Remove garbage code: first of all `r` used in compare was uninitialized (diff) | |
download | eudev-877de5b8ee5584091c8c10476878324a44467f73.tar.gz eudev-877de5b8ee5584091c8c10476878324a44467f73.tar.bz2 eudev-877de5b8ee5584091c8c10476878324a44467f73.zip |
Merge pull request #99 from zaufi/master
Remove some garbage code inherited from `systemd`
-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 61fe00fc3..92361b0cb 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(); |