summaryrefslogtreecommitdiff
path: root/src/locale-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-06 19:36:06 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-06 19:36:06 +0200
commit03aea2aecd6f9d2193af5d6cf866063da8d47ad5 (patch)
tree221f982096dcf06a37b13318dec63075ced5d415 /src/locale-setup.c
parent4466194c43a25bc51b21226f04245131e698bb3f (diff)
cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers
Diffstat (limited to 'src/locale-setup.c')
-rw-r--r--src/locale-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale-setup.c b/src/locale-setup.c
index 39b877cabe..08e289d4ee 100644
--- a/src/locale-setup.c
+++ b/src/locale-setup.c
@@ -69,7 +69,7 @@ int locale_setup(void) {
zero(variables);
- if (detect_virtualization(NULL) <= 0)
+ if (detect_container(NULL) <= 0)
if ((r = parse_env_file("/proc/cmdline", WHITESPACE,
#ifdef TARGET_FEDORA
"LANG", &variables[VARIABLE_LANG],