aboutsummaryrefslogtreecommitdiff
path: root/src/librc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 16:16:06 +0000
committerRoy Marples <roy@marples.name>2007-10-04 16:16:06 +0000
commitbb9ad38de2dab93c5cdb0745b055c3346b6684c9 (patch)
treeb4b9d9492d6eacebce16542bd7d9a158d731e8bd /src/librc.c
parentbd83448633f7e3a2d9d37120090bf3e0460c059a (diff)
Punt rc_is_file
Diffstat (limited to 'src/librc.c')
-rw-r--r--src/librc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librc.c b/src/librc.c
index c93c1ee9..2c0cdcdf 100644
--- a/src/librc.c
+++ b/src/librc.c
@@ -296,7 +296,7 @@ bool rc_service_mark (const char *service, const rc_service_state_t state)
base = basename (svc);
if (state != RC_SERVICE_STOPPED) {
- if (! rc_is_file(init)) {
+ if (! rc_exists (init)) {
free (init);
free (svc);
return (false);
@@ -498,7 +498,7 @@ static pid_t _exec_service (const char *service, const char *arg)
char *svc;
file = rc_service_resolve (service);
- if (! rc_is_file (file)) {
+ if (! rc_exists (file)) {
rc_service_mark (service, RC_SERVICE_STOPPED);
free (file);
return (0);