fix shell return status of the find symlink command