Don't catch patch exceptions in the command, but let it bubble up to the application so the correct exit code will be generated.
Merge pull request #37 from Tjeerd/correct-exitcode

Fixed exitcodes