about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/logout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/login/logout.c b/login/logout.c
index a9656fd4e9..5ab5e618fb 100644
--- a/login/logout.c
+++ b/login/logout.c
@@ -55,6 +55,9 @@ logout (const char *line)
 #else
       time (&ut->ut_time);
 #endif
+#if _HAVE_UT_TYPE - 0
+      ut->ut_type = DEAD_PROCESS;
+#endif
 
       if (pututline (ut) >= 0)
 	result = 1;