diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-28 23:35:10 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:18:54 -0400 |
commit | 7e18c2f4c0cdeb99a807b2f1e8b94f6af99a29c0 (patch) | |
tree | 4f69b93ff0b1b3302f481cff05947242a7903cb6 /src/leap/bitmask/vpn | |
parent | c232797f8f37be1c630e533fc7cd06a10604a647 (diff) |
[bug] assert vpn management folder exists
Diffstat (limited to 'src/leap/bitmask/vpn')
-rw-r--r-- | src/leap/bitmask/vpn/process.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py index a2b384e..d35857c 100644 --- a/src/leap/bitmask/vpn/process.py +++ b/src/leap/bitmask/vpn/process.py @@ -90,6 +90,8 @@ class _VPNProcess(protocol.ProcessProtocol): self._port = socket_port if socket_port == 'unix': + folder = os.path.split(self._host)[0] + assert os.path.isfile(folder) self._management_endpoint = clientFromString( reactor, b"unix:path=%s" % socket_host) else: |