]> 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)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Aug 2023 09:36:16 +0000 (11:36 +0200)
commit032c502d5a1cbbbfaa7426b03076598d5f67641e
treed9a1a4db9803c338f3f5b65b1fb0f736de21fa3e
parent140404e1fd22705c3a6972378b17af5e5ea87432
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