Skip to content

Commit 2b4c0cf

Browse files
authored
Add unstable warning for sudoedit (#1194)
2 parents 43d0f4c + 39942a2 commit 2b4c0cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sudo/pipeline/edit.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ use crate::exec::ExitReason;
66
use crate::sudoers::Authorization;
77

88
pub fn run_edit(edit_opts: SudoEditOptions) -> Result<(), Error> {
9+
super::super::unstable_warning();
10+
911
let policy = super::read_sudoers()?;
1012

1113
let mut context = Context::from_edit_opts(edit_opts)?;

0 commit comments

Comments
 (0)