add error redirections
Merge pull request #88 from sudosuu/master

Added error redirections