Make flag in union sudo_defs_val bool to match how it is used.

Adjust find_path()'s ignore_dot function argument to match.
This commit is contained in:
Todd C. Miller
2023-09-13 14:59:29 -06:00
parent a9801cc99d
commit b8f2680cf0
7 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ resolve_editor(const char *ed, size_t edlen, int nfiles, char * const *files,
/* If we can't find the editor in the user's PATH, give up. */
if (find_path(editor, &editor_path, &user_editor_sb, getenv("PATH"),
0, allowlist) != FOUND) {
false, allowlist) != FOUND) {
errno = ENOENT;
goto bad;
}