Check code style fails but gives no output

Currently, even if there are no errors in a shell script, the code style gives no output, but fails. Change that