From e79188261ba42c9261d91ffb9afd9859d7f932fb Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Wed, 12 Nov 2025 17:26:53 +0100 Subject: [PATCH] fs: Fix wrong watcher trace log on Linux (#42544) Follow-up to #40200 Release Notes: - N/A --- crates/fs/src/fs_watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fs/src/fs_watcher.rs b/crates/fs/src/fs_watcher.rs index 32be1112d0b235281d33dd14534ebb87d8a3bc55..18d5dbeeb9e82948aaa503e7268d39c5d1852a2b 100644 --- a/crates/fs/src/fs_watcher.rs +++ b/crates/fs/src/fs_watcher.rs @@ -72,8 +72,8 @@ impl Watcher for FsWatcher { } #[cfg(target_os = "linux")] { - log::trace!("path to watch is already watched: {path:?}"); if self.registrations.lock().contains_key(path) { + log::trace!("path to watch is already watched: {path:?}"); return Ok(()); } }