mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
Fix typo in cmd/tailscale/cli/cli.go (#1069)
Remove duplicate 'to connect' in error message. Fixes #1068 Signed-off-by: Charlotte Brandhorst-Satzkorn <charlotte@catzkorn.dev>
This commit is contained in:
parent
a9a80ab372
commit
ff2b3d02e6
@ -99,7 +99,7 @@ func connect(ctx context.Context) (net.Conn, *ipn.BackendClient, context.Context
|
|||||||
if runtime.GOOS != "windows" && rootArgs.socket == "" {
|
if runtime.GOOS != "windows" && rootArgs.socket == "" {
|
||||||
fatalf("--socket cannot be empty")
|
fatalf("--socket cannot be empty")
|
||||||
}
|
}
|
||||||
fatalf("Failed to connect to connect to tailscaled. (safesocket.Connect: %v)\n", err)
|
fatalf("Failed to connect to tailscaled. (safesocket.Connect: %v)\n", err)
|
||||||
}
|
}
|
||||||
clientToServer := func(b []byte) {
|
clientToServer := func(b []byte) {
|
||||||
ipn.WriteMsg(c, b)
|
ipn.WriteMsg(c, b)
|
||||||
|
Loading…
Reference in New Issue
Block a user