diff options
Diffstat (limited to 'src/openrc-run/openrc-run.c')
-rw-r--r-- | src/openrc-run/openrc-run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c index e9a064f8..bf64a1b3 100644 --- a/src/openrc-run/openrc-run.c +++ b/src/openrc-run/openrc-run.c @@ -612,7 +612,7 @@ svc_start_check(void) } if (exclusive_fd == -1) - exclusive_fd = svc_lock(applet); + exclusive_fd = svc_lock(applet, !deps); if (exclusive_fd == -1) { if (errno == EACCES) eerrorx("%s: superuser access required", applet); @@ -864,7 +864,7 @@ svc_stop_check(RC_SERVICE *state) exit(EXIT_FAILURE); if (exclusive_fd == -1) - exclusive_fd = svc_lock(applet); + exclusive_fd = svc_lock(applet, !deps); if (exclusive_fd == -1) { if (errno == EACCES) eerrorx("%s: superuser access required", applet); |