diff --git a/files/fs.go b/files/fs.go index 580e99ad..47980ce4 100644 --- a/files/fs.go +++ b/files/fs.go @@ -1,9 +1,7 @@ package files -import "path/filepath" - func ownedByFilesystem(path string) bool { - p := filepath.Clean(path) + p := ToNixPath(path) for _, pp := range append(fsPaths, logrotatePaths...) { if p == pp { return true