mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
tmpfiles: downgrade error message when operation is not supported (#5692)
Fixes #5607
This commit is contained in:
parent
c9b0610856
commit
c258349f1a
@ -973,7 +973,7 @@ static int path_set_attribute(Item *item, const char *path) {
|
||||
|
||||
r = chattr_fd(fd, f, item->attribute_mask);
|
||||
if (r < 0)
|
||||
log_full_errno(r == -ENOTTY ? LOG_DEBUG : LOG_WARNING,
|
||||
log_full_errno(r == -ENOTTY || r == -EOPNOTSUPP ? LOG_DEBUG : LOG_WARNING,
|
||||
r,
|
||||
"Cannot set file attribute for '%s', value=0x%08x, mask=0x%08x: %m",
|
||||
path, item->attribute_value, item->attribute_mask);
|
||||
|
Loading…
x
Reference in New Issue
Block a user