Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:
Correct the login.conf variable name used for obtaining the login prompt. PR: conf/44717 (indirectly) Spotted by: gcooper MFC after: 1 week
This commit is contained in:
parent
84f583c47e
commit
86893cf0d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211079
@ -279,7 +279,8 @@ main(argc, argv)
|
||||
* Get "login-retries" & "login-backoff" from default class
|
||||
*/
|
||||
lc = login_getclass(NULL);
|
||||
prompt = login_getcapstr(lc, "prompt", DEFAULT_PROMPT, DEFAULT_PROMPT);
|
||||
prompt = login_getcapstr(lc, "login_prompt",
|
||||
DEFAULT_PROMPT, DEFAULT_PROMPT);
|
||||
passwd_prompt = login_getcapstr(lc, "passwd_prompt",
|
||||
DEFAULT_PASSWD_PROMPT, DEFAULT_PASSWD_PROMPT);
|
||||
retries = login_getcapnum(lc, "login-retries", DEFAULT_RETRIES,
|
||||
|
Loading…
Reference in New Issue
Block a user