]> git.ipfire.org Git - thirdparty/systemd.git/commit
getty-generator: fix handling systems without a console
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 17:06:35 +0000 (18:06 +0100)
committerKay Sievers <kay@vrfy.org>
Sun, 2 Dec 2012 17:18:27 +0000 (18:18 +0100)
commita705d08519d26cd2ee581cd04cb70888b3a55b62
tree392372565bc0b2823b8db640585097a8997f8866
parent0e168acbd69dd0d0a776a8cc20c5a5cb6a804325
getty-generator: fix handling systems without a console

If the system does not have any active console, we should not try to
create an empty symlink. Instead, create no symlink at all.

Otherwise, on systems with CONFIG_VT=n and no serial console, we will
create a symlink with an empty template parameter.
src/getty-generator/getty-generator.c