Will return exit code 1 on failure.