diff options
author | Tim Rice <tim@multitalents.net> | 2006-02-07 15:17:44 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2006-02-07 15:17:44 -0800 |
commit | 83d2f5fedfac201f24205c41691a03f23bd35df0 (patch) | |
tree | 3535ceec1a3aa68585d34d7be9d0c181a71d5836 /session.c | |
parent | ac9b0609e17e36fec8fc4d4bc8f805696fbffc08 (diff) |
- (tim) [session.c] Logout records were not updated on systems with
post auth privsep disabled due to bug 1086 changes. Analysis and patch
by vinschen at redhat.com. OK tim@, dtucker@.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2176,7 +2176,6 @@ session_exit_message(Session *s, int status) | |||
2176 | 2176 | ||
2177 | /* disconnect channel */ | 2177 | /* disconnect channel */ |
2178 | debug("session_exit_message: release channel %d", s->chanid); | 2178 | debug("session_exit_message: release channel %d", s->chanid); |
2179 | s->pid = 0; | ||
2180 | 2179 | ||
2181 | /* | 2180 | /* |
2182 | * Adjust cleanup callback attachment to send close messages when | 2181 | * Adjust cleanup callback attachment to send close messages when |
@@ -2238,6 +2237,7 @@ session_close_by_pid(pid_t pid, int status) | |||
2238 | session_exit_message(s, status); | 2237 | session_exit_message(s, status); |
2239 | if (s->ttyfd != -1) | 2238 | if (s->ttyfd != -1) |
2240 | session_pty_cleanup(s); | 2239 | session_pty_cleanup(s); |
2240 | s->pid = 0; | ||
2241 | } | 2241 | } |
2242 | 2242 | ||
2243 | /* | 2243 | /* |