summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2018-01-15 14:10:26 +0100
committerArne Schwabe <arne@rfc2549.org>2018-01-15 14:10:26 +0100
commitc627e2a2b9b8a2c4ed158c0b742b532110a52597 (patch)
tree42553a2842585cb95589e7e4080ae0828e55430c /main
parentffda90d0970686efe5dbcc5b816e9677778d2adc (diff)
End service correctly with OpenVPN 2 (closes #822)
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java2
1 files changed, 1 insertions, 1 deletions
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");
}