From 1d787bef5257d3683dd1ca4835c347f33f967ad8 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 11 Jan 2014 15:34:23 +0100 Subject: Ignore socket closed error --HG-- extra : rebase_source : 2f34c72f130906533af7d4456f394690690ffe52 --- src/de/blinkt/openvpn/core/OpenVpnManagementThread.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3