Returning value on success

Care for a pull request in a 8loc module? ;)