tmpfiles: downgrade error message when operation is not supported (#5692)

Fixes #5607
This commit is contained in:
Yu Watanabe
2017-04-10 13:22:18 +02:00
committed by Lennart Poettering
parent c9b0610856
commit c258349f1a
+1 -1
View File
@@ -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);