summaryrefslogtreecommitdiff
path: root/bitmask/main.go
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2018-02-26 16:51:34 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2018-02-26 16:51:34 +0100
commit0b71ba75ec7ffe7338977edaf2452ee8bf23ba25 (patch)
tree6e6c2d811a77e8215458b67ea3f6a6271c5ab5ea /bitmask/main.go
parent619e77dfec5589097c4ba65f6121c6e63fe07789 (diff)
[bug] snap home is read-only
Diffstat (limited to 'bitmask/main.go')
-rw-r--r--bitmask/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmask/main.go b/bitmask/main.go
index 1632175..f15b3f8 100644
--- a/bitmask/main.go
+++ b/bitmask/main.go
@@ -104,7 +104,7 @@ func initCore() (*zmq4.Socket, error) {
endpointPwd := "/tmp"
if os.Getenv("SNAP") != "" {
- endpointPwd = os.Getenv("SNAP")
+ endpointPwd = "/var/tmp"
}
err = socket.Connect(fmt.Sprintf(coreEndpoint, endpointPwd))
return socket, err