in reply to Control Flow - Multiple returns or nested conditionals
The two aren't the same. The second always return status = 1 regardless of whether an error has occured.