(logout): Compare pututline result with NULL.
authordrepper <drepper>
Sat, 21 Jun 1997 01:39:35 +0000 (01:39 +0000)
committerdrepper <drepper>
Sat, 21 Jun 1997 01:39:35 +0000 (01:39 +0000)
login/logout.c

index 5ab5e61..8a406c0 100644 (file)
@@ -59,7 +59,7 @@ logout (const char *line)
       ut->ut_type = DEAD_PROCESS;
 #endif
 
-      if (pututline (ut) >= 0)
+      if (pututline (ut) != NULL)
        result = 1;
     }