summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/vpn/launchers/linux.py2
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: