From 5f282897317df38bbd96ba567f3a4f1d2f259039 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 6 Apr 2020 18:27:48 +0200 Subject: cleanup: merge runsvc back into initd Signed-off-by: David Oberhollenzer --- initd/supervisor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initd/supervisor.c') diff --git a/initd/supervisor.c b/initd/supervisor.c index 8ac69af..8d53416 100644 --- a/initd/supervisor.c +++ b/initd/supervisor.c @@ -175,7 +175,7 @@ void supervisor_init(void) { int status = STATUS_OK; - if (svcscan(SVCDIR, &cfg, RDSVC_NO_EXEC | RDSVC_NO_CTTY)) + if (svcscan(SVCDIR, &cfg, 0)) status = STATUS_FAIL; target = TGT_BOOT; @@ -191,7 +191,7 @@ void supervisor_reload_config(void) service_t *svc; int i; - if (svcscan(SVCDIR, &newcfg, RDSVC_NO_EXEC | RDSVC_NO_CTTY)) + if (svcscan(SVCDIR, &newcfg, 0)) return; for (i = 0; i < TGT_MAX; ++i) { -- cgit v1.2.3