Improve the exit code behavior
Merge pull request #60 from walter-cd/exit-code

Improve the exit code behavior