mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-04 14:41:01 +00:00
control/controlclient: fix copy/paste-o in debug knob accessor
Introduced in a975e86bb8a42f0be9faf16067ee55a6da55d767. Only affected TS_DEBUG_* env users.
This commit is contained in:
parent
0f0ed3dca0
commit
57e8931160
@ -800,7 +800,7 @@ func envBool(k string) bool {
|
||||
if e == "" {
|
||||
return false
|
||||
}
|
||||
v, err := strconv.ParseBool(os.Getenv("TS_DEBUG_NETMAP"))
|
||||
v, err := strconv.ParseBool(e)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("invalid non-bool %q for env var %q", e, k))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user