rapid7/metasploit-framework — pull request #626 by mubix (2012-07-20 06:52:08+00:00)
Title: fixes dir/file check

check was always returning 'D' for directory. Fix
as suggested by egypt, tested and works