summaryrefslogtreecommitdiff
path: root/pkg/vpn/launcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/launcher.go')
-rw-r--r--pkg/vpn/launcher.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vpn/launcher.go b/pkg/vpn/launcher.go
index eb3794c..1b2d673 100644
--- a/pkg/vpn/launcher.go
+++ b/pkg/vpn/launcher.go
@@ -34,6 +34,7 @@ import (
type launcher struct {
helperAddr string
+ failed bool
}
const initialHelperPort = 7171
@@ -82,7 +83,7 @@ func smellsLikeOurHelperSpirit(port int, c *http.Client) bool {
func newLauncher() (*launcher, error) {
helperPort := probeHelperPort(initialHelperPort)
helperAddr := "http://localhost:" + strconv.Itoa(helperPort)
- return &launcher{helperAddr}, nil
+ return &launcher{helperAddr, false}, nil
}
func (l *launcher) close() error {