summaryrefslogtreecommitdiff
path: root/bitmask_go/launcher_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask_go/launcher_linux.go')
-rw-r--r--bitmask_go/launcher_linux.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitmask_go/launcher_linux.go b/bitmask_go/launcher_linux.go
index 12bd1cb..4046fa5 100644
--- a/bitmask_go/launcher_linux.go
+++ b/bitmask_go/launcher_linux.go
@@ -38,10 +38,14 @@ type launcher struct {
openvpnCh chan []string
}
-func newLauncher() *launcher {
+func newLauncher() (*launcher, error) {
l := launcher{make(chan []string, 1)}
go l.openvpnRunner()
- return &l
+ return &l, nil
+}
+
+func (l *launcher) close() error {
+ return nil
}
func (l *launcher) openvpnStart(flags ...string) error {