Add correct exit code based on the success of all the tasks
Merge pull request #29 from kea/wrong-exit-code

Add correct exit code based on the success of all the tasks