mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
localed: don't fail if we cannot copy an xattr
We ignore xattr copy failures on all other cases, and we should do so here too. Fixes: #24106
This commit is contained in:
committed by
Luca Boccassi
parent
1160267a98
commit
d3efe29452
@@ -746,7 +746,7 @@ int locale_gen_enable_locale(const char *locale) {
|
||||
return r;
|
||||
r = copy_xattr(fileno(fr), fileno(fw), COPY_ALL_XATTRS);
|
||||
if (r < 0)
|
||||
return r;
|
||||
log_debug_errno(r, "Failed to copy all xattrs from old to new /etc/locale.gen file, ignoring: %m");
|
||||
}
|
||||
|
||||
if (!write_new) {
|
||||
|
||||
Reference in New Issue
Block a user