diff --git a/Userland/Libraries/LibCore/FileWatcherLinux.cpp b/Userland/Libraries/LibCore/FileWatcherLinux.cpp index 69f8d5e1c88..0aaade3d56e 100644 --- a/Userland/Libraries/LibCore/FileWatcherLinux.cpp +++ b/Userland/Libraries/LibCore/FileWatcherLinux.cpp @@ -74,6 +74,8 @@ static Optional get_event_from_fd(int fd, HashMapmask & IN_ATTRIB) != 0) result.type |= FileWatcherEvent::Type::MetadataModified; + if ((event->mask & IN_IGNORED) != 0) + return {}; if (result.type == FileWatcherEvent::Type::Invalid) { warnln("Unknown event type {:x} returned by the watch_file descriptor for {}", event->mask, path);