diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-13 19:29:11 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-13 19:30:19 -0600 |
commit | d4c7207ef3906daf6f8646e8deb6d968fe76cb36 (patch) | |
tree | 5806b09ad65fb5accee8c2e2ebaf6a4462b71724 | |
parent | 04f05c30d13ec83b85164a536eb570f29a66b275 (diff) |
fix seg fault
-rw-r--r-- | src/rc/rc-misc.c | 2 |
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 |