summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/vpn/process.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index 5b8bc1b..daf3576 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -101,7 +101,10 @@ class _VPNProcess(protocol.ProcessProtocol, _management.VPNManagement):
@property
def status(self):
- return self._status.status
+ status = self._status.status
+ if status['status'] == 'off' and self.restarting:
+ status['status'] = 'starting'
+ return status
@property
def traffic_status(self):