Remove duplicate opendir
Merge pull request #1 from aops/patch-1

Remove duplicate opendir