Fix rc-status some more.

This commit is contained in:
Roy Marples 2008-04-17 00:25:08 +00:00
parent c89b3763fb
commit 57e1dd7389

View File

@ -149,6 +149,8 @@ static void print_services(const char *runlevel, RC_STRINGLIST *services)
l = rc_deptree_depends(deptree, types, services, r ? r : runlevel,
RC_DEP_STRICT | RC_DEP_TRACE | RC_DEP_START);
free(r);
if (!l)
return;
TAILQ_FOREACH(s, l, entries) {
TAILQ_FOREACH(t, services, entries)
if (strcmp(t->value, s->value) == 0)