diff options
| -rw-r--r-- | talpid-core/src/routing/linux.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/talpid-core/src/routing/linux.rs b/talpid-core/src/routing/linux.rs index ae23f4e0c0..a314c4f112 100644 --- a/talpid-core/src/routing/linux.rs +++ b/talpid-core/src/routing/linux.rs @@ -263,7 +263,9 @@ impl RouteManagerImpl { Ok(mut response) => { while let Some(message) = response.next().await { if let NetlinkPayload::Error(error) = message.payload { - log::warn!("Failed to delete routing policy: {}", error); + if error.to_io().kind() != io::ErrorKind::NotFound { + log::warn!("Failed to delete routing policy: {}", error); + } } } } |
