From c9fbec21b700c25d35a03b12df1adbb65f67ff12 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 26 Feb 2018 16:54:56 +0100 Subject: [bug] snap pwd is read-only --- src/leap/bitmask/core/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 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() -- cgit v1.2.3