]> git.ipfire.org Git - thirdparty/systemd.git/commit
vconsole-setup: fonts copy will fail if the current terminal is in graphical mode
authorFranck Bui <fbui@suse.com>
Wed, 12 Dec 2018 12:46:32 +0000 (13:46 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Dec 2018 07:30:20 +0000 (08:30 +0100)
commitd610d2012532d6d2467600e2e914530c5edc63b1
tree3ea0434baa164af060f2af1f1c4dec3355c7b0cc
parent0c17c0043383f31170b8e3c1abd491f9e03c8ec7
vconsole-setup: fonts copy will fail if the current terminal is in graphical mode

If the terminal is in graphical mode, the kernel will refuse to copy the fonts
and will return -EINVAL.

Also having the graphical mode in effect probably indicates that the terminal
is in used by another application and we shouldn't interfer in such cases.
src/vconsole/vconsole-setup.c