diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 139271623e..93af017696 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1479,14 +1479,8 @@ static int fd_set_acls( log_debug_errno(r, "ACLs not supported by file system at %s", path); return 0; } - if (r > 0) return -r; /* already warned in path_set_acl */ - - /* The above procfs paths don't work if /proc is not mounted. */ - if (r == -ENOENT && proc_mounted() == 0) - r = -ENOSYS; - if (r < 0) return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); #endif