mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
control/controlclient: fix copy/paste-o in debug knob accessor
Introduced in a975e86bb8
.
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…
Reference in New Issue
Block a user