Skip to content

Commit bea39d9

Browse files
committed
change wording
1 parent a925a26 commit bea39d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/visudo/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ fn edit_sudoers_file(
305305
"It looks like you have removed your ability to run 'sudo visudo' again.\n"
306306
)?;
307307
match ask_response(
308-
b"What now? (p)roceed anyway / e(x)it without saving / (e)dit again: ",
309-
b"xep",
308+
b"What now? e(x)it without saving / (e)dit again / lock me out and (S)ave: ",
309+
b"xeS",
310310
)? {
311311
b'x' => return Ok(()),
312-
b'p' => {}
312+
b'S' => {}
313313
_ => continue,
314314
}
315315
}

0 commit comments

Comments
 (0)