Make sure return code is 0 if we are successful.