The documented login.conf variable for setting the login prompt is

"login_prompt".  This makes more sense than "prompt" which is what
login actually used, so change the code to match the documentation.

PR:		docs/51396
MFC in:		3 days
This commit is contained in:
Dag-Erling Smørgrav 2003-04-25 11:57:20 +00:00
parent 6c45bec6b6
commit 5c4b7a56c6

View File

@ -250,7 +250,7 @@ main(int argc, char *argv[])
* Get "login-retries" & "login-backoff" from default class
*/
lc = login_getclass(NULL);
prompt = login_getcapstr(lc, "prompt",
prompt = login_getcapstr(lc, "login_prompt",
default_prompt, default_prompt);
passwd_prompt = login_getcapstr(lc, "passwd_prompt",
default_passwd_prompt, default_passwd_prompt);