Skip to content

Commit

Permalink
🐛 Small fixups in cmd/join after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Feb 22, 2022
1 parent 12f293a commit a11ae0c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmd/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import (

func Start() cli.Command {
return cli.Command{
Name: "Start",
Name: "start",
Usage: "Start the network without activating any interface",
Description: `Connect over the p2p network without establishing a VPN.
Useful for setting up relays or hop nodes to improve the network connectivity.`,
UsageText: "edgevpn Start",
UsageText: "edgevpn start",
Flags: CommonFlags,
Action: func(c *cli.Context) error {
o, _, ll := cliToOpts(c)
Expand All @@ -45,9 +45,8 @@ Useful for setting up relays or hop nodes to improve the network connectivity.`,
}

ll.Info("Joining p2p network")

for {
}
<-context.Background().Done()
return nil
},
}
}

0 comments on commit a11ae0c

Please sign in to comment.