Correctly return success flag

I believe it's a typo :)