mirror of https://github.com/tailscale/tailscale/
ipn: make LoadPrefs return os.ErrNotExist when reading corrupted files
It appears some users have corrupted pref.conf files. Have LoadPrefs treat these files as non-existent. This way tailscale will make user login, and not crash. Fixes #954 Signed-off-by: Alex Brainman <alex.brainman@gmail.com>josh/no-goroutine-per-udp-read-2
parent
2c48b4ee14
commit
72e082aaf5
Loading…
Reference in New Issue