From Openwalls: needs to be a USER_PROCESS

This commit is contained in:
Joey Schulze 2004-04-29 10:58:40 +00:00
parent 669d9991b7
commit e9c3de7bfd

View File

@ -1935,7 +1935,7 @@ void wallmsg(f, iov)
/* is this slot used? */ /* is this slot used? */
if (ut.ut_name[0] == '\0') if (ut.ut_name[0] == '\0')
continue; continue;
if (ut.ut_type == LOGIN_PROCESS) if (ut.ut_type != USER_PROCESS)
continue; continue;
if (!(strcmp (ut.ut_name,"LOGIN"))) /* paranoia */ if (!(strcmp (ut.ut_name,"LOGIN"))) /* paranoia */
continue; continue;