]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-device-manager: Don't log an error when /sys/class/tty/console/active is empty
authornerdopolis <bluescreen_avenger@verizon.net>
Fri, 2 Aug 2024 11:56:28 +0000 (07:56 -0400)
committernerdopolis <bluescreen_avenger@verizon.net>
Fri, 2 Aug 2024 11:56:28 +0000 (07:56 -0400)
commit2dc6aa9e44d187ee2933b3f8fc438d24eb060ed9
tree282962a4768f166a4f93cb60ae9b882648a090b7
parent6976081d6a3fe6f208f57d6155dfd9025cefa704
ply-device-manager: Don't log an error when /sys/class/tty/console/active is empty

This is possible on some kernels that were built with CONFIG_NULL_TTY enabled, and were booted with console=ttynull
/sys/class/tty/console/active is empty in this case, so the file being empty is not always an error worth logging
src/libply-splash-core/ply-device-manager.c