diff options
| author | Marwan Sulaiman <marwan@tailscale.com> | 2024-03-15 11:54:42 -0400 |
|---|---|---|
| committer | Marwan Sulaiman <marwan.sameer@gmail.com> | 2024-03-15 12:46:41 -0400 |
| commit | da7c3d1753d07392281620730fac73384425d130 (patch) | |
| tree | b84490d30b0e672980c46c9ff840f78ebca710f2 /control/controlknobs/controlknobs.go | |
| parent | 08ebac9acb5d4a6d2ae6b01f282f1f0807c7561d (diff) | |
| download | tailscale-da7c3d1753d07392281620730fac73384425d130.tar.xz tailscale-da7c3d1753d07392281620730fac73384425d130.zip | |
envknob: ensure f is not nil before using it
This PR fixes a panic that I saw in the mac app where
parsing the env file fails but we don't get to see the
error due to the panic of using f.Name()
Fixes #11425
Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
