refactoring

This commit is contained in:
Dr. Matthias Ratajczak
2023-02-02 15:32:23 +01:00
parent b9632ee8c2
commit 2f7742cc9d
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(());
};