mirror of https://github.com/tailscale/tailscale/
cmd/tailscale/cli: make 'debug watch-ipn' play nice with jq
jq doens't like non-json output in the json stream, and works more happily when the input stream EOFs at some point. Move non-json words to stderr, and add a parameter to stop watching and exit after some number of objects. Updates #cleanup Signed-off-by: David Anderson <danderson@tailscale.com>pull/10323/head
parent
c4855fe0ea
commit
fd22145b52
Loading…
Reference in New Issue