Files
tailscale/cmd
Kabir Sikand 0e8a68fc8d cmd/tailscale/cli: route join-status not-bound diagnostic to stderr
The "this node is not blueprint-bound" exit-1 message was being
written to the same io.Writer as the projection block — which in
production means os.Stdout. The v2 design specifies stderr for that
diagnostic, matching every other CLI command in the package that
exits 1.

Pull the not-bound check up into runJoinStatus and write it via
os.Stderr directly, then call os.Exit(1). The render helpers
assume a bound status and always return 0; their test surface
shrinks accordingly.

Updates #cleanup

Signed-off-by: Kabir Sikand <[email protected]>
2026-05-27 20:21:27 +00:00
..