SIGN IN SIGN UP

cmd/tailscale/cli: handle kubeconfig stat errors

kubeconfigPath dereferences FileInfo for non-ENOENT stat errors even though os.Stat returns nil FileInfo. Preserve the failing list entry so checkKubeconfigWritable reports the existing access error instead of panicking.

Updates #11604

Signed-off-by: Bonobo <github@in9.at>
B
Bonobo committed
8052bb2c53bf600c59d2cd8198a13b2da75e4e37
Parent: 290aad7
Committed by James Tucker <jftucker@gmail.com> on 8/15/2026, 12:39:15 AM