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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c
index 584fb220a1..aa4a89c17a 100644
--- a/src/core/locale-setup.c
+++ b/src/core/locale-setup.c
@@ -74,9 +74,9 @@ int locale_setup(char ***environment) {
}
if (strv_isempty(add)) {
- /* If no locale is configured then default to C.UTF-8. */
+ /* If no locale is configured then default to compile-time default. */
- add = strv_new("LANG=C.UTF-8");
+ add = strv_new("LANG=" SYSTEMD_DEFAULT_LOCALE);
if (!add)
return -ENOMEM;
}