Skip to content

Commit

Permalink
Fix max age on list
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Jul 20, 2024
1 parent 40ac912 commit 9dc66ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fileaxe/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

func (fa FileAxe) list() {
logFiles := fa.Find(fa.Conf.Folder, fa.Conf.Matcher, 0, fa.Conf.Now)
logFiles := fa.Find(fa.Conf.Folder, fa.Conf.Matcher, fa.Conf.MaxAge, fa.Conf.Now)
for _, el := range logFiles {
if fa.Conf.Ls.Plain {
fmt.Printf("%s\n", el.Path)
Expand Down

0 comments on commit 9dc66ac

Please sign in to comment.