Need to use #elif defined(DEBIAN) here...
This fixes a c&p error in 7472744bf9
This commit is contained in:
parent
7472744bf9
commit
f6943caa53
|
@ -135,7 +135,7 @@ int locale_setup(void) {
|
||||||
log_warning("Failed to read /etc/sysconfig/language: %s", strerror(-r));
|
log_warning("Failed to read /etc/sysconfig/language: %s", strerror(-r));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TARGET_DEBIAN
|
#elif defined(TARGET_DEBIAN)
|
||||||
if (r <= 0 &&
|
if (r <= 0 &&
|
||||||
(r = parse_env_file("/etc/default/locale", NEWLINE,
|
(r = parse_env_file("/etc/default/locale", NEWLINE,
|
||||||
"LANG", &variables[VARIABLE_LANG],
|
"LANG", &variables[VARIABLE_LANG],
|
||||||
|
|
Loading…
Reference in a new issue