From 38552e1f17f75b921c587d743f9e1b37c61b5dc5 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 30 Jun 2017 13:08:15 +0200 Subject: [bug] don't restart the VPN if we want to stop it Let's signal clearly that we don't want to restart it. - Resolves: #8956 --- src/leap/bitmask/vpn/_control.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/leap') diff --git a/src/leap/bitmask/vpn/_control.py b/src/leap/bitmask/vpn/_control.py index 1c352bed..a57c6e47 100644 --- a/src/leap/bitmask/vpn/_control.py +++ b/src/leap/bitmask/vpn/_control.py @@ -124,6 +124,7 @@ class VPNControl(object): # We assume that the only valid stops are initiated # by an user action, not hard restarts self._user_stopped = not restart + self._vpnproc.restarting = restart self._sentterm = True self._vpnproc.terminate(shutdown=shutdown) -- cgit v1.2.3