]> git.ipfire.org Git - thirdparty/systemd.git/commit
log: only open kmsg on fallback if we actually want to use it
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 23:31:36 +0000 (00:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 23:31:36 +0000 (00:31 +0100)
commite38b8a407aef9814627207aa5d9a648ab9682a32
treeae0e49bb384b871d1c77669c1a8df6e5e767aebc
parent00adeed99f593926833da32aeb55a2e619fe3024
log: only open kmsg on fallback if we actually want to use it

Previously, we'd try to open kmsg on failure of the journal/syslog even
if no automatic fallback to kmsg was requested — and we wouldn't even
use the open connection afterwards...
src/basic/log.c