trigger E_USER_ERROR when opendir fails
Merge pull request #11 from ysangkok/master

trigger E_USER_ERROR when opendir fails