aboutsummaryrefslogtreecommitdiff
path: root/src/rc/do_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/do_service.c')
-rw-r--r--src/rc/do_service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rc/do_service.c b/src/rc/do_service.c
index a36a09ca..5d78e8df 100644
--- a/src/rc/do_service.c
+++ b/src/rc/do_service.c
@@ -68,9 +68,7 @@ int main(int argc, char **argv)
ok = rc_service_started_daemon(service, exec, NULL, idx);
} else if (strcmp(applet, "service_crashed") == 0) {
- ok = (_rc_can_find_pids() &&
- rc_service_daemons_crashed(service) &&
- errno != EACCES);
+ ok = ( rc_service_daemons_crashed(service) && errno != EACCES);
} else
eerrorx("%s: unknown applet", applet);