mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 15:12:25 -08:00
This change unifies all root checks in `ssh/tailssh` to use `isRootUser`. This ensures we consistently avoid the `== "0"` check and protects us in any future root check changes (previously missed in #21919).
Updates tailscale/corp#50380
Change-Id: I598e4394cf3a779e622fa208378b33afee8723e3
Signed-off-by: Mike Jensen <[email protected]>
(cherry picked from commit 1f9df5e6d4)