diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-26 16:54:56 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-03-02 03:54:13 +0100 |
commit | c9fbec21b700c25d35a03b12df1adbb65f67ff12 (patch) | |
tree | baa9caa40f716bf6c4718e4c995c1c93e2a6ad83 | |
parent | ac924d854701db919c2a7de4090358f98d5813a6 (diff) |
[bug] snap pwd is read-only
-rw-r--r-- | src/leap/bitmask/core/__init__.py | 4 |
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() |