Check rc only when no result is returned