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 #3802

Change-Id: Ifca532ec58296fedcedb5582312dfee884367ed7
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/4685/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent e1c1d47991
commit da601c23e1

@ -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

Loading…
Cancel
Save