minor condition change

there's no guarantee that the function will return 1 on success, at least not in the documentation