Show proper configuration file line numbers in error messages.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e0fccc9806
commit
6dc3a9f496
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261767
@ -743,7 +743,7 @@ conf_new_from_file(const char *path)
|
||||
return (NULL);
|
||||
}
|
||||
check_perms(path);
|
||||
lineno = 0;
|
||||
lineno = 1;
|
||||
yyrestart(yyin);
|
||||
error = yyparse();
|
||||
auth_group = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user