summaryrefslogtreecommitdiffhomepage
path: root/ipn
diff options
context:
space:
mode:
authorPercy Wegmann <percy@tailscale.com>2024-02-09 16:23:42 -0600
committerPercy Wegmann <ox.to.a.cart@gmail.com>2024-02-09 22:13:27 -0600
commit87154a2f88bdce05ff4a85b7c5000c830e7980a4 (patch)
tree174a12da095f0bd5bf54ee12e8e764a509c0b74c /ipn
parentddcffaef7ae3ca96d4710ac307d9e2930694f8bd (diff)
downloadtailscale-87154a2f88bdce05ff4a85b7c5000c830e7980a4.tar.xz
tailscale-87154a2f88bdce05ff4a85b7c5000c830e7980a4.zip
tailfs: fix startup issues on windows
Starts TailFS for Windows too, initializes shares on startup. Updates tailscale/corp#16827 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Diffstat (limited to 'ipn')
-rw-r--r--ipn/ipnlocal/local.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go
index 864cc5ee1..9899d504e 100644
--- a/ipn/ipnlocal/local.go
+++ b/ipn/ipnlocal/local.go
@@ -432,7 +432,7 @@ func NewLocalBackend(logf logger.Logf, logID logid.PublicID, sys *tsd.System, lo
// initialize TailFS shares from saved state
fs, ok := b.sys.TailFSForRemote.GetOK()
- if !ok {
+ if ok {
b.mu.Lock()
shares, err := b.tailFSGetSharesLocked()
b.mu.Unlock()