chiark / gitweb /
terminal-util: modernize get_kernel_consoles() a bit
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Feb 2018 13:56:17 +0000 (14:56 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:56 +0000 (07:58 +0200)
commit17cf319e946a8db177ec5a150b829469a71d785a
treea9a4a7e7a102286a68767ad02f488928d40258a3
parent166fe023429260b2c8af6300e4b349ba832e3de0
terminal-util: modernize get_kernel_consoles() a bit

Also, make sure when we run in a container, we don't use the data from
/sys at all, but immediately fall back to /dev/console itself.
src/basic/terminal-util.c
src/basic/terminal-util.h