chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:02 +0000 (07:59 +0200)
commit8b1de0ce2cd30cf60f8129c84b4ea64e612e97eb
treef93ca8e6c1c0bc857d7887fc0603889790fcafb4
parentc184fc5282e2d262974e84affb1e481fb0ee56b4
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