mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 19:21:18 -08:00
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]>