Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
squell committed Jan 10, 2024
1 parent 58dd8fb commit 8cf284a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sudo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ impl PolicyPlugin for SudoersPolicy {
let (sudoers, syntax_errors) = crate::sudoers::Sudoers::open(sudoers_path)
.map_err(|e| Error::Configuration(format!("{e}")))?;

for crate::sudoers::Error(pos, error) in syntax_errors {
diagnostic::diagnostic!("{error}", sudoers_path @ pos);
for crate::sudoers::Error(path, pos, error) in syntax_errors {
diagnostic::diagnostic!("{error}", path @ pos);
}

Ok(sudoers)
Expand Down

0 comments on commit 8cf284a

Please sign in to comment.