summaryrefslogtreecommitdiff
path: root/pkg/helper/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/helper/linux.go')
-rw-r--r--pkg/helper/linux.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/helper/linux.go b/pkg/helper/linux.go
index 88c3e10..79d301d 100644
--- a/pkg/helper/linux.go
+++ b/pkg/helper/linux.go
@@ -20,6 +20,8 @@ import (
"log"
"os"
"os/exec"
+
+ "0xacab.org/leap/bitmask-systray/pkg/config"
)
const (
@@ -27,7 +29,7 @@ const (
openvpnGroup = "nogroup"
LogFolder = "/var/log/"
systemOpenvpnPath = "/usr/sbin/openvpn"
- snapOpenvpnPath = "/snap/bin/riseup-vpn.openvpn"
+ snapOpenvpnPath = "/snap/bin/" + config.BinaryName + ".openvpn"
)
var (