fix list message when ogdir isn't empty

This commit is contained in:
Lilian Jónsdóttir 2024-06-30 16:56:13 -07:00
parent b26ac28b7d
commit 50a7d5aa56

View file

@ -199,7 +199,7 @@ var (
fls, err := trash.FindFiles(trashDir, ogdir, f) fls, err := trash.FindFiles(trashDir, ogdir, f)
var msg string var msg string
if f.Blank() { if f.Blank() && ogdir == "" {
msg = "trash is empty" msg = "trash is empty"
} else { } else {
msg = "no files to show" msg = "no files to show"