diff options
-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) |