From 50a7d5aa5696b964c277a1fd06739cd0133247b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 30 Jun 2024 16:56:13 -0700 Subject: [PATCH] fix list message when ogdir isn't empty --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d81a158..23f82d7 100644 --- a/main.go +++ b/main.go @@ -199,7 +199,7 @@ var ( fls, err := trash.FindFiles(trashDir, ogdir, f) var msg string - if f.Blank() { + if f.Blank() && ogdir == "" { msg = "trash is empty" } else { msg = "no files to show"