cmd/tailscaled: don't require --socket path on windows

reviewable/pr551/r1
Brad Fitzpatrick 4 years ago
parent 39ecb37fd6
commit e589c76e98

@ -92,7 +92,7 @@ func main() {
log.Fatalf("--state is required")
}
if *socketpath == "" {
if *socketpath == "" && runtime.GOOS != "windows" {
log.Fatalf("--socket is required")
}

Loading…
Cancel
Save