diff options
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r-- | src/start-stop-daemon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c index 8fdcaa33..f37351f3 100644 --- a/src/start-stop-daemon.c +++ b/src/start-stop-daemon.c @@ -46,6 +46,7 @@ static struct pam_conv conv = { NULL, NULL} ; #include "builtins.h" #include "einfo.h" +#include "librc-daemon.h" #include "rc.h" #include "rc-misc.h" #include "strlist.h" @@ -758,7 +759,7 @@ int start_stop_daemon (int argc, char **argv) unlink (pidfile); if (svcname) - rc_service_daemon_set (svcname, exec, cmd, pidfile, false); + __rc_service_daemon_set (svcname, exec, cmd, pidfile, false); exit (EXIT_SUCCESS); } @@ -1032,7 +1033,7 @@ int start_stop_daemon (int argc, char **argv) } if (svcname) - rc_service_daemon_set (svcname, exec, cmd, pidfile, true); + __rc_service_daemon_set (svcname, exec, cmd, pidfile, true); exit (EXIT_SUCCESS); } |