aboutsummaryrefslogtreecommitdiff
path: root/initd
diff options
context:
space:
mode:
Diffstat (limited to 'initd')
-rw-r--r--initd/supervisor.c4
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) {