refactoring

This commit is contained in:
steven-omaha
2023-02-02 15:32:23 +01:00
parent 2ff6a1741d
commit 76de65f9ac
4 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ impl Pacdef {
to_install.show("install".into());
if !get_user_confirmation() {
if !get_user_confirmation()? {
return Ok(());
};
@@ -178,7 +178,7 @@ impl Pacdef {
to_remove.show("remove".into());
if !get_user_confirmation() {
if !get_user_confirmation()? {
return Ok(());
};