}
if (set_isempty(iterator->links))
- return ret; /* propagate last error we saw if we couldn't connect to anything. */
+ return ret < 0 ? ret : -ESRCH; /* propagate last error we saw if we couldn't connect to anything. */
/* We connected to some services, in this case, ignore the ones we failed on */
return 0;