summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/vpn/process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index a2b384e9..d35857c7 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: