diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-04-24 12:24:19 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-04-24 12:26:26 +0200 |
commit | 70ea16b0b4423f02e4f0c265320c336341363793 (patch) | |
tree | 53dd43046b11d099131b39853f428a1273f6beae /initd | |
parent | 5f282897317df38bbd96ba567f3a4f1d2f259039 (diff) |
Cleanup: remove rdsvc flags
With the previous changes, there were only used by the status
command.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd')
-rw-r--r-- | initd/supervisor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |