mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-04 16:43:10 -05: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 <mikej@tailscale.com>