From 70ea16b0b4423f02e4f0c265320c336341363793 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 24 Apr 2020 12:24:19 +0200 Subject: Cleanup: remove rdsvc flags With the previous changes, there were only used by the status command. Signed-off-by: David Oberhollenzer --- initd/supervisor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initd') diff --git a/initd/supervisor.c b/initd/supervisor.c index 8d53416..f9d3d7f 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, 0)) + if (svcscan(SVCDIR, &cfg)) status = STATUS_FAIL; target = TGT_BOOT; @@ -191,7 +191,7 @@ void supervisor_reload_config(void) service_t *svc; int i; - if (svcscan(SVCDIR, &newcfg, 0)) + if (svcscan(SVCDIR, &newcfg)) return; for (i = 0; i < TGT_MAX; ++i) { -- cgit v1.2.3