From ef27662de5c9a0f6d95ab8a92dda92d60ff936c1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 24 May 2022 23:17:35 +0400 Subject: [PATCH] ModMask const modified with IN_IGNORED mask and now called ModIgnMask. --- pkg/watcher/linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/watcher/linux.go b/pkg/watcher/linux.go index 864a7cf..ce0e02d 100644 --- a/pkg/watcher/linux.go +++ b/pkg/watcher/linux.go @@ -8,8 +8,8 @@ import ( ) const ( - CrDelMask uint32 = syscall.IN_CREATE | syscall.IN_DELETE - ModMask uint32 = syscall.IN_MODIFY + CrDelMask uint32 = syscall.IN_CREATE | syscall.IN_DELETE + ModIgnMask uint32 = syscall.IN_MODIFY | syscall.IN_IGNORED ) const inotifyCount = 16