interactive mode shows same message as list

This commit is contained in:
Lilian Jónsdóttir 2024-06-30 15:04:44 -07:00
parent 37a63a5a85
commit 99a3bed240

View file

@ -432,7 +432,13 @@ func interactiveMode() error {
} }
if len(fls) <= 0 { if len(fls) <= 0 {
log.Printf("no files to show") var msg string
if f.Blank() {
msg = "trash is empty"
} else {
msg = "no files to show"
}
fmt.Println(msg)
return nil return nil
} }