aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-misc.c2
1 files changed, 2 insertions, 0 deletions
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