mirror of https://github.com/tailscale/tailscale/
ipn/ipnlocal: fix AllowsUpdate disable after enable (#9827)
The old code would always retain value `true` if it was set once, even if you then change `prefs.AutoUpdate.Apply` to `false`. Instead of using the previous value, use the default (envknob) value to OR with. Updates #755 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>pull/9832/head
parent
18bd98d35b
commit
b949e208bb
Loading…
Reference in New Issue