]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wall: do not error for ttys that do not exist
authorMike Gilbert <floppym@gentoo.org>
Sat, 29 Jul 2023 21:32:57 +0000 (17:32 -0400)
committerMike Gilbert <floppym@gentoo.org>
Wed, 2 Aug 2023 14:46:19 +0000 (10:46 -0400)
commit7d3713a6d541be0bac0bb78cc8fea1620583fd08
tree67996cc6b77af7db0dd141848177acbeacef66b2
parenta6dd313bf2f5bc901ddc65262807075587ecb895
wall: do not error for ttys that do not exist

Some wayland display managers (GDM) put strings like "seat0" in the
ut_line field of utmp entries. These are not valid tty devices.

Avoid writing a confusing error message for ttys that do not exist.

Bug: https://bugs.gentoo.org/911336
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
term-utils/ttymsg.c