small fixes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-12-15 16:40:27 +01:00
committed by Florian Schade
parent 3a2a38870c
commit 9dd03b6c90
2 changed files with 4 additions and 4 deletions
@@ -191,8 +191,8 @@ func restoreAllTrashBinItems(cfg *config.Config) *cobra.Command {
if err != nil {
return err
}
assumeYes, _ := cmd.Flags().GetBool("yes")
if !assumeYes {
applyYesFlag, _ := cmd.Flags().GetBool("yes")
if !applyYesFlag {
for {
fmt.Printf("Found %d items that could be restored, continue (Y/n), show the items list (s): ", len(res.GetRecycleItems()))
var i string