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

This commit is contained in:
Brad Fitzpatrick 2020-07-13 11:30:46 -07:00
parent 39ecb37fd6
commit e589c76e98

View File

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