Fix openvpn pwd

master
eater 5 years ago
parent 31e2382933
commit 787ebc9165
Signed by: eater
GPG Key ID: 656785D50BE51C0A

@ -48,6 +48,7 @@ func (it *OpenVPN) Start() {
log.Printf("Starting OpenVPN") log.Printf("Starting OpenVPN")
it.cmd = exec.Command("openvpn", "--config", it.GetConfigLocation()) it.cmd = exec.Command("openvpn", "--config", it.GetConfigLocation())
it.cmd.Dir = it.Config.Location
it.cmd.Start() it.cmd.Start()
go func() { go func() {

Loading…
Cancel
Save