Return exit code

Fixes #439
you are right.