summaryrefslogtreecommitdiff
path: root/miscutils/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/last.c')
-rw-r--r--miscutils/last.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/last.c b/miscutils/last.c
index 6e3ed9093..55c03ae41 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -92,7 +92,8 @@ int last_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
92 goto next; 92 goto next;
93 } 93 }
94 if (ut.ut_type != DEAD_PROCESS 94 if (ut.ut_type != DEAD_PROCESS
95 && ut.ut_user[0] && ut.ut_line[0] 95 && ut.ut_user[0]
96 && ut.ut_line[0]
96 ) { 97 ) {
97 ut.ut_type = USER_PROCESS; 98 ut.ut_type = USER_PROCESS;
98 } 99 }