241
//HP-UX uses console when someone is graphically logged in
242
if(ent->ut_line[0] == ':' || ent->ut_id[0] == ':' ||
243
!strcmp(ent->ut_line, "console"))
241
if(ent->ut_type != USER_PROCESS)
244
/* Linux uses this */
245
ent->ut_line[0] == ':' || ent->ut_id[0] == ':' ||
247
(!strncmp(ent->ut_line, "lft", 3) && !strcmp(ent->ut_id, "dt")) ||
248
/* Solaris and HP-UX use this */
249
(!strcmp(ent->ut_line, "console") && !strcmp(ent->ut_id, "dt")))