Files
tailscale/clientupdate
Nick Khyl 09417bf73d clientupdate: don't exit tailscaled when starting the Windows installer
When an update is requested via LocalAPI, updateWindows runs inside
tailscaled, and its os.Exit(0) after launching the tailscale.exe copy
made the service restart the tailscaled child process immediately.

Exit only when running as tailscale.exe. In tailscaled.exe,
wait for the installer instead, which stops the service as part
of the upgrade. As a side effect, an install that fails before
stopping the service is now reported as a failed update.

Updates tailscale/corp#40430

Signed-off-by: Nick Khyl <[email protected]>
2026-11-19 19:36:03 -08:00
..