We should check we resolved a service before stating it's existance.

This commit is contained in:
Roy Marples
2008-01-06 21:06:47 +00:00
parent b1540cba5b
commit 16a2c82bd1
2 changed files with 4 additions and 1 deletions

View File

@ -283,6 +283,7 @@ static char **get_provided (const rc_depinfo_t *deptree,
if (! deptree || ! depinfo)
return (NULL);
if (rc_service_exists (depinfo->service))
return (NULL);