aboutsummaryrefslogtreecommitdiff
path: root/src/librc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-08 22:35:32 +0000
committerRoy Marples <roy@marples.name>2007-08-08 22:35:32 +0000
commitf8c1ee736c7f3bd1ead5e416a328b839cb917183 (patch)
treee6f76e562f9f08f657a9b8495a2b96b6cb58e1f1 /src/librc.c
parent06902f5ff3b8f9f6970e815d5074c6b8b55dd7b9 (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.c3
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);