diff options
-rw-r--r-- | bitmask/main.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bitmask/main.go b/bitmask/main.go index f15b3f8..29263ac 100644 --- a/bitmask/main.go +++ b/bitmask/main.go @@ -102,10 +102,7 @@ func initCore() (*zmq4.Socket, error) { return nil, err } - endpointPwd := "/tmp" - if os.Getenv("SNAP") != "" { - endpointPwd = "/var/tmp" - } + endpointPwd := "/var/tmp" err = socket.Connect(fmt.Sprintf(coreEndpoint, endpointPwd)) return socket, err } |