diff options
author | Roy Marples <roy@marples.name> | 2007-08-08 22:35:32 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-08 22:35:32 +0000 |
commit | f8c1ee736c7f3bd1ead5e416a328b839cb917183 (patch) | |
tree | e6f76e562f9f08f657a9b8495a2b96b6cb58e1f1 /src/librc.c | |
parent | 06902f5ff3b8f9f6970e815d5074c6b8b55dd7b9 (diff) |
Add help to rc-update #188170 and tidy up the code a fair bit.
Diffstat (limited to 'src/librc.c')
-rw-r--r-- | src/librc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librc.c b/src/librc.c index 9bd89cd9..5b815720 100644 --- a/src/librc.c +++ b/src/librc.c @@ -257,9 +257,6 @@ bool rc_service_in_runlevel (const char *service, const char *runlevel) if (! runlevel || ! service) return (false); - if (! rc_service_exists (service)) - return (false); - svc = rc_xstrdup (service); file = rc_strcatpaths (RC_RUNLEVELDIR, runlevel, basename (svc), (char *) NULL); |