exit with the correct status in `ry fullpath`