Skip to content

Commit

Permalink
Merge fix from PR oniony#282
Browse files Browse the repository at this point in the history
  • Loading branch information
tweerlei committed Aug 14, 2024
1 parent bc89b75 commit 8888a8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ func findNewFiles(searchPath string, report *StatusReport, dirOnly, followSymlin
}

dirNames, err := dir.Readdirnames(0)
dir.Close()
if err != nil {
return fmt.Errorf("%v: could not read directory listing: %v", searchPath, err)
}
Expand Down

0 comments on commit 8888a8f

Please sign in to comment.