From c627e2a2b9b8a2c4ed158c0b742b532110a52597 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 15 Jan 2018 14:10:26 +0100 Subject: End service correctly with OpenVPN 2 (closes #822) --- main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java index 9579babb..4119f52c 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java +++ b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java @@ -111,7 +111,7 @@ public class OpenVPNThread implements Runnable { } } - if (mNoProcessExitStatus) + if (!mNoProcessExitStatus) mService.openvpnStopped(); Log.i(TAG, "Exiting"); } -- cgit v1.2.3