Exit with the provided error code if rpmbuild returns a bad error code