Error should set a error code for exit

Returning 0 as error code indicates success, and Travis CI doesn't care about the rest of the output.

Signed-off-by: Stefan Marr <git@stefan-marr.de>