summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-01-11 15:34:23 +0100
committerArne Schwabe <arne@rfc2549.org>2014-01-11 15:34:23 +0100
commit1d787bef5257d3683dd1ca4835c347f33f967ad8 (patch)
tree42d74a93adda52659bd4535ee0258b361537e319
parent727431f8aa8b579424571cba2a29328d4d83b2b5 (diff)
Ignore socket closed error
--HG-- extra : rebase_source : 2f34c72f130906533af7d4456f394690690ffe52
-rw-r--r--src/de/blinkt/openvpn/core/OpenVpnManagementThread.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/core/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/core/OpenVpnManagementThread.java
index cfc6776d..2fa407ca 100644
--- a/src/de/blinkt/openvpn/core/OpenVpnManagementThread.java
+++ b/src/de/blinkt/openvpn/core/OpenVpnManagementThread.java
@@ -146,7 +146,8 @@ public class OpenVpnManagementThread implements Runnable, OpenVPNManagement {
}
} catch (IOException e) {
- VpnStatus.logException(e);
+ if (!e.getMessage().equals("socket closed"))
+ VpnStatus.logException(e);
}
active.remove(this);
}