fixed missing error handler
Merge branch 'master' of git://github.com/UTipdMe/simple-daemon