diff options
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
| -rw-r--r-- | src/tmpfiles/tmpfiles.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 42f757c4b7..271984b5a8 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -955,9 +955,10 @@ static int path_set_attribute(Item *item, const char *path) {          r = chattr_fd(fd, f, item->attribute_mask);          if (r < 0) -                return log_error_errno(r, -                        "Cannot set file attribute for '%s', value=0x%08x, mask=0x%08x: %m", -                        path, item->attribute_value, item->attribute_mask); +                log_full_errno(r == -ENOTTY ? 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);          return 0;  } | 
