gokrazy / tools

this repository contains the gok CLI tool of gokrazy
https://gokrazy.org
BSD 3-Clause "New" or "Revised" License
50 stars 28 forks source link

gok: ignore error when updating over tailscale #55

Closed nhanb closed 1 year ago

nhanb commented 1 year ago

This is not a real fix. I still haven't figured out why a connection reset by peer happens in the first place. target.Reboot() will still block for a bit before giving up. At least it doesn't falsely report a fail now.

Also moved canc() up so the terminal isn't littered with [update boot file system] 0.00% of 16 MiB, uploading at 0 B/s during the wait. I have no idea why the reporting hasn't been cancelled already: boot file system update apparently finished waaaay before that point.

Related: https://github.com/gokrazy/gokrazy/issues/199

stapelberg commented 1 year ago

Thanks!