fs: Fix wrong watcher trace log on Linux (#42544)

Follow-up to #40200

Release Notes:

- N/A
This commit is contained in:
Finn Evers
2025-11-12 16:26:53 +00:00
committed by GitHub
parent ab62739605
commit e79188261b
+1 -1
View File
@@ -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(());
}
}