Skip to content

Commit 679f5d2

Browse files
committed
Merge fix from PR oniony#282
1 parent c4c1de8 commit 679f5d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/status.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ func findNewFiles(searchPath string, report *StatusReport, dirOnly, followSymlin
300300
}
301301

302302
dirNames, err := dir.Readdirnames(0)
303+
dir.Close()
303304
if err != nil {
304305
return fmt.Errorf("%v: could not read directory listing: %v", searchPath, err)
305306
}

0 commit comments

Comments
 (0)