mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-11-04 09:25:11 +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:
		@@ -800,7 +800,7 @@ func envBool(k string) bool {
 | 
				
			|||||||
	if e == "" {
 | 
						if e == "" {
 | 
				
			||||||
		return false
 | 
							return false
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	v, err := strconv.ParseBool(os.Getenv("TS_DEBUG_NETMAP"))
 | 
						v, err := strconv.ParseBool(e)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		panic(fmt.Sprintf("invalid non-bool %q for env var %q", e, k))
 | 
							panic(fmt.Sprintf("invalid non-bool %q for env var %q", e, k))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user