* src/login.c: Move update_utmp() after the PID or session ID

changed in order to get more accurate data in UTMP. This also
	fixes "exec login" when login in installed setuid.
This commit is contained in:
nekral-guest
2009-04-27 20:25:23 +00:00
parent 009125484e
commit 91fc51387c
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Move update_utmp() after the PID or session ID
changed in order to get more accurate data in UTMP. This also
fixes "exec login" when login in installed setuid.
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Reuse a string and avoid an untranslated message