diff options
author | Kali Kaneko <kali@leap.se> | 2018-01-17 23:09:42 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-01-25 01:19:15 +0100 |
commit | 276c717b0d1d662cabc117cea7373418efedde09 (patch) | |
tree | 8760ed3b13e155b87a167e99a7ed59f411697bc1 | |
parent | bb69e8a2bd6117ee432e7b9ced09f200d61926b7 (diff) |
[bug] check if attribute exists
-rw-r--r-- | src/leap/bitmask/vpn/launchers/linux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/launchers/linux.py b/src/leap/bitmask/vpn/launchers/linux.py index 0e145e50..b0cd4f7f 100644 --- a/src/leap/bitmask/vpn/launchers/linux.py +++ b/src/leap/bitmask/vpn/launchers/linux.py @@ -201,7 +201,7 @@ class LinuxVPNLauncher(VPNLauncher): :type tries: int """ if tries < TERMINATE_MAXTRIES: - if proc.transport.pid is None: + if proc.transport and proc.transport.pid is None: deferred.callback(True) return else: |