now the exit code behaves like expected.

- processes exit explicit on fail