diff options
author | Roy Marples <roy@marples.name> | 2007-08-17 13:23:02 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-17 13:23:02 +0000 |
commit | 7aaa601aad6c88176ec1c5f214153b358c54b379 (patch) | |
tree | 0c984f29b6056d809563b5c3623ff409a2a45064 /src | |
parent | b10bd4b9d7d4fea7957201561a34fa3f6303f279 (diff) |
needsme should always be valid too
Diffstat (limited to 'src')
-rw-r--r-- | src/librc-depend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librc-depend.c b/src/librc-depend.c index 71ea118a..67e51985 100644 --- a/src/librc-depend.c +++ b/src/librc-depend.c @@ -396,6 +396,7 @@ static void visit_service (rc_depinfo_t *deptree, char **types, { di = rc_get_depinfo (deptree, lp); if (di && (strcmp (item, "ineed") == 0 || + strcmp (item, "needsme") == 0 || valid_service (runlevel, di->service))) visit_service (deptree, types, sorted, visited, di, runlevel, options | RC_DEP_TRACE); @@ -404,6 +405,7 @@ static void visit_service (rc_depinfo_t *deptree, char **types, } else if (di && (strcmp (item, "ineed") == 0 || + strcmp (item, "needsme") == 0 || valid_service (runlevel, service))) visit_service (deptree, types, sorted, visited, di, runlevel, options | RC_DEP_TRACE); |