summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-core/src/tunnel/openvpn.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/talpid-core/src/tunnel/openvpn.rs b/talpid-core/src/tunnel/openvpn.rs
index d8c97d468a..ff2094b34e 100644
--- a/talpid-core/src/tunnel/openvpn.rs
+++ b/talpid-core/src/tunnel/openvpn.rs
@@ -361,8 +361,6 @@ impl<C: OpenVpnBuilder + 'static> OpenVpnMonitor<C> {
fn postmortem(&mut self) -> Error {
#[cfg(windows)]
{
- use std::fs;
-
if let Some(log_path) = self.log_path.take() {
if let Ok(log) = fs::read_to_string(log_path) {
if log.contains("There are no TAP-Windows adapters on this system") {