diff options
| author | Andrew Lytvynov <awly@tailscale.com> | 2023-11-30 14:22:29 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 12:22:29 -0800 |
| commit | 59d1077e2853e1964ae27a3158eaa80e01d690ee (patch) | |
| tree | b2b122ad54e335102e922c640623aa65dcdb7412 /control/controlknobs/controlknobs.go | |
| parent | b819f66eb1efab85dcf5550d4f0da92fb7ab2551 (diff) | |
| download | tailscale-59d1077e2853e1964ae27a3158eaa80e01d690ee.tar.xz tailscale-59d1077e2853e1964ae27a3158eaa80e01d690ee.zip | |
clientupdate: cleanup tailscale binary copies on Windows (#10433)
When updating on Windows, we make a copy of the tailscale.exe file in a
temp directory to perform the update, because the original tailscale.exe
gets deleted during the update.
This can eat up disk space if a machine is stuck doing repeated failed
update attempts. Clean up old copies explicitly before making a new one,
same as we do with MSIs.
Updates #10082
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
