ipn/ipnlocal: add missing place where we set the SSH atomic
This fixes the "tailscale up --authkey=... --ssh" path (or any "up"
path that used Start instead of EditPrefs) which wasn't setting the
bit.
Updates
@@ -955,6 +955,7 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
b.logf("failed to save UpdatePrefs state: %v", err)
}
}
+ b.setAtomicValuesFromPrefs(b.prefs)
}
wantRunning := b.prefs.WantRunning
