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>release-branch/1.2
parent
daebded286
commit
2acf7f6edc
Loading…
Reference in New Issue