From d4c7207ef3906daf6f8646e8deb6d968fe76cb36 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 13 Jan 2016 19:29:11 -0600 Subject: fix seg fault --- src/rc/rc-misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 6dfa4235..f01d1f89 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -179,6 +179,8 @@ env_config(void) sys = detect_container(); if (!sys) sys = detect_vm(); + + if (sys) setenv("RC_SYS", sys, 1); #ifdef PREFIX -- cgit v1.2.3