diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/vpn/process.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py index 5b8bc1b7..daf3576b 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): |