summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-06-21 17:20:29 +0200
committerRuben Pollan <meskio@sindominio.net>2018-06-21 17:20:29 +0200
commit93e5e01114db37f2ee72b110abc32284dfa8b424 (patch)
treedd0001125b992d2d005abfcd7cc1a33eaa9b1096
parent1951fb256a7559f8eac2b60d91dde5c2aa076c5c (diff)
[bug] send a "null" to the openvpn_stop windows helper
-rw-r--r--bitmask_go/launcher_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmask_go/launcher_windows.go b/bitmask_go/launcher_windows.go
index ddebfbe..d0effa4 100644
--- a/bitmask_go/launcher_windows.go
+++ b/bitmask_go/launcher_windows.go
@@ -57,7 +57,7 @@ func (l *launcher) firewallStop() error {
func (l *launcher) send(cmd string, args ...string) error {
if args == nil {
- args = []string{}
+ args = "null"
}
command := struct {
Cmd string `json:"cmd"`