diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-06-30 13:08:15 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-06-30 13:10:36 +0200 |
commit | 38552e1f17f75b921c587d743f9e1b37c61b5dc5 (patch) | |
tree | e37f403de845b6be3109c9a2a3ca8ca513858e17 | |
parent | bf1984d8707454c1cf13169cc8f937fc3be1dfae (diff) |
[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
-rw-r--r-- | src/leap/bitmask/vpn/_control.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |