summaryrefslogtreecommitdiff
path: root/src/core/locale-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/locale-setup.c')
-rw-r--r--src/core/locale-setup.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c
index ec512909ec..b9bd3a0748 100644
--- a/src/core/locale-setup.c
+++ b/src/core/locale-setup.c
@@ -163,16 +163,6 @@ int locale_setup(void) {
log_warning("Failed to read /etc/default/locale: %s", strerror(-r));
}
-#elif defined(TARGET_ARCH)
- if (r <= 0 &&
- (r = parse_env_file("/etc/rc.conf", NEWLINE,
- "LOCALE", &variables[VARIABLE_LANG],
- NULL)) < 0) {
-
- if (r != -ENOENT)
- log_warning("Failed to read /etc/rc.conf: %s", strerror(-r));
- }
-
#elif defined(TARGET_GENTOO)
/* Gentoo's openrc expects locale variables in /etc/env.d/
* These files are later compiled by env-update into shell