mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Support sudoers_file being a colon-separated path of files.
The first file found is used.
This commit is contained in:
@@ -442,7 +442,7 @@ sudo_endspent(void)
|
||||
}
|
||||
|
||||
FILE *
|
||||
open_sudoers(const char *file, bool doedit, bool *keepopen)
|
||||
open_sudoers(const char *file, char **outfile, bool doedit, bool *keepopen)
|
||||
{
|
||||
struct stat sb;
|
||||
FILE *fp = NULL;
|
||||
|
Reference in New Issue
Block a user