aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-02-22 16:16:07 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-02-22 16:16:07 -0600
commitaa7d3a7911b658c550e7ce76cd6d7d46541fc323 (patch)
treee1bf331617fd3a5315c54472c20b4d8e55654280 /src/rc
parent98262647a9d2f3c65a7ceb1aaa81095522c1ef06 (diff)
openrc: force deptree update for sysinit runlevel
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 1f462c66..3054f6c2 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -505,6 +505,9 @@ do_sysinit()
* sys */
if ((sys = rc_sys()))
setenv("RC_SYS", sys, 1);
+ /* force an update of the dependency tree */
+ if ((main_deptree = _rc_deptree_load(1, NULL)) == NULL)
+ eerrorx("failed to load deptree");
}
static bool