aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 6916aafc..8fdcaa33 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -758,7 +758,7 @@ int start_stop_daemon (int argc, char **argv)
unlink (pidfile);
if (svcname)
- rc_set_service_daemon (svcname, exec, cmd, pidfile, false);
+ rc_service_daemon_set (svcname, exec, cmd, pidfile, false);
exit (EXIT_SUCCESS);
}
@@ -1032,7 +1032,7 @@ int start_stop_daemon (int argc, char **argv)
}
if (svcname)
- rc_set_service_daemon (svcname, exec, cmd, pidfile, true);
+ rc_service_daemon_set (svcname, exec, cmd, pidfile, true);
exit (EXIT_SUCCESS);
}