aboutsummaryrefslogtreecommitdiff
path: root/initd/supervisor.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-04-06 18:27:48 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-04-24 12:09:18 +0200
commit5f282897317df38bbd96ba567f3a4f1d2f259039 (patch)
tree2838f323c0e3ed96aec81aecc89942dbede5e977 /initd/supervisor.c
parent0975ed0fb7773881d8f2ffccf3de33f433273b24 (diff)
cleanup: merge runsvc back into initd
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/supervisor.c')
-rw-r--r--initd/supervisor.c4
1 files changed, 2 insertions, 2 deletions
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) {