vconsole-setup: use a consistent log level when setfont fails with EX_OSERR
authorFranck Bui <fbui@suse.com>
Fri, 1 Dec 2023 07:44:53 +0000 (08:44 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 1 Dec 2023 13:53:20 +0000 (13:53 +0000)
commit2f26c211718d29c322b2732d99617fce4d837ae1
tree0f22640c4c38dc643fada3afaca78d9377abeb2c
parent24baee337038af93e8abe754aad2d47d5ddc263c
vconsole-setup: use a consistent log level when setfont fails with EX_OSERR

Since we accept that setfont(8) can fail with EX_OSERR and we dont treat it as
an error, dont log this failure at LOG_ERR.

Before:
-------
/usr/bin/setfont failed with exit status 71.           [LOG_ERR]
Setting fonts failed with a "system error", ignoring.  [LOG_NOTICE]

After:
-----
/usr/bin/setfont failed with a "system error" (EX_OSERR), ignoring.   [LOG_NOTICE]
Setting source virtual console failed, ignoring remaining ones        [LOG_NOTICE]

Follow-up for 93c9a9d235e2304500c490b4868534385f925c76
src/vconsole/vconsole-setup.c