mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Print a more sensible error if yyparse() returns non-zero but
yyerror() was not called.
This commit is contained in:
@@ -822,7 +822,7 @@ init_parser(const char *path, int quiet)
|
||||
|
||||
parse_error = false;
|
||||
errorlineno = -1;
|
||||
errorfile = NULL;
|
||||
errorfile = sudoers;
|
||||
verbose = !quiet;
|
||||
|
||||
debug_return;
|
||||
|
Reference in New Issue
Block a user