check exit of codes included shell commands

WARNING This Change may break your current setup!
Merge pull request #1 from ogelpre/ogelpre

check exit of codes included shell commands