Use proper exit-code on failures