* libmisc/console.c (console): Remove the leading /dev/ from the

tty before comparing with the lines specified by CONSOLE.
	* src/su.c: Do not remove the /dev/ prefix since it is done by
	console().
This commit is contained in:
nekral-guest
2009-05-16 18:19:24 +00:00
parent 8eaa6f8b4c
commit f634cd3e2c
3 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/console.c (console): Remove the leading /dev/ from the
tty before comparing with the lines specified by CONSOLE.
* src/su.c: Do not remove the /dev/ prefix since it is done by
console().
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
* man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE