Page MenuHomeFreeBSD

D57018.id177893.diff
No OneTemporary

D57018.id177893.diff

diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -2152,6 +2152,9 @@
while ((ut = getutxent()) != NULL) {
if (ut->ut_type != USER_PROCESS)
continue;
+ /* this is most likely an X11 session, not a tty */
+ if (ut->ut_line[0] == ':')
+ continue;
if (f->f_type == F_WALL) {
if ((p = ttymsg(iov, iovlen, ut->ut_line,
TTYMSGTIME)) != NULL)

File Metadata

Mime Type
text/plain
Expires
Sat, May 23, 11:46 AM (5 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33137284
Default Alt Text
D57018.id177893.diff (452 B)

Event Timeline