about summary refs log tree commit diff
path: root/login/logout.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/logout.c')
-rw-r--r--login/logout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/logout.c b/login/logout.c
index 5ab5e618fb..8a406c01ca 100644
--- a/login/logout.c
+++ b/login/logout.c
@@ -59,7 +59,7 @@ logout (const char *line)
       ut->ut_type = DEAD_PROCESS;
 #endif
 
-      if (pututline (ut) >= 0)
+      if (pututline (ut) != NULL)
 	result = 1;
     }