From 1af7fade55a83c8cd99fd63b55005fe28cf7887d Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:39:51 +0200 Subject: [PATCH] fix: add actual cancel code --- pkgr/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgr/src/commands.rs b/pkgr/src/commands.rs index b996408..ab669cd 100644 --- a/pkgr/src/commands.rs +++ b/pkgr/src/commands.rs @@ -87,8 +87,8 @@ impl Command { { if *ask { info!(target: "item", "{}", queue); - if prompt_bool("Install queue?", false) { - + if !prompt_bool("Install queue?", false) { + return; } } }