summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-26 16:54:56 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:13 +0100
commitc9fbec21b700c25d35a03b12df1adbb65f67ff12 (patch)
treebaa9caa40f716bf6c4718e4c995c1c93e2a6ad83 /src
parentac924d854701db919c2a7de4090358f98d5813a6 (diff)
[bug] snap pwd is read-only
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/core/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/__init__.py b/src/leap/bitmask/core/__init__.py
index 9b11007c..30108297 100644
--- a/src/leap/bitmask/core/__init__.py
+++ b/src/leap/bitmask/core/__init__.py
@@ -19,9 +19,7 @@ def dummy_imports():
APPNAME = "bitmask.core"
if platform.system() == 'Windows':
ENDPOINT = "tcp://127.0.0.1:5001"
-elif os.getenv('SNAP'):
- ENDPOINT = "ipc://%s/%s.sock" % (os.getenv('SNAP'), APPNAME)
else:
- ENDPOINT = "ipc:///tmp/%s.sock" % APPNAME
+ ENDPOINT = "ipc:///var/tmp/%s.sock" % APPNAME
dummy_imports()