diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-06-20 16:57:44 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-06-21 11:42:39 +0200 |
commit | 199ef6f9be94a08580cd6bdbf5d54518e11217c1 (patch) | |
tree | 15d696d952b60c0a2da41332d108d83866c4edf7 /bitmask_go/launcher_linux.go | |
parent | 2439d744ac42e7c77e4848de50dd432f7d9b12bc (diff) |
[feat] add support for the windows launcher
Diffstat (limited to 'bitmask_go/launcher_linux.go')
-rw-r--r-- | bitmask_go/launcher_linux.go | 8 |
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 { |