Exit with 1 if the result is fail