Fix previous fix - doh!
This commit is contained in:
parent
b94ebaa4bd
commit
3c27255c5b
@ -321,7 +321,7 @@ impl AllActions {
|
|||||||
let mut reply = String::new();
|
let mut reply = String::new();
|
||||||
let stdin = io::stdin();
|
let stdin = io::stdin();
|
||||||
let _read = stdin.read_line(&mut reply);
|
let _read = stdin.read_line(&mut reply);
|
||||||
match reply.as_str() {
|
match reply.trim_end() {
|
||||||
"y" | "Y" | "yes" | "Yes" => true,
|
"y" | "Y" | "yes" | "Yes" => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user