diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-04-10 20:22:18 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-04-10 13:22:18 +0200 |
commit | c258349f1a56b987fd91a5c136fd15536eec3890 (patch) | |
tree | f14f2097b36352a3d34f395525b6f148f61c3299 | |
parent | c9b061085678a8b00cf3631b123378fc6104a56f (diff) |
tmpfiles: downgrade error message when operation is not supported (#5692)
Fixes #5607
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 7326597b8c..ed6a9adaa6 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -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); |