securityonion icon indicating copy to clipboard operation
securityonion copied to clipboard

FIX: so-status is unreadable when using `watch(1)`

Open JamesMConroy opened this issue 2 years ago • 0 comments

Because so-status always prints with color, and sets color for each - in it's output the tool is unusable when the output isn't a tty.

If you tried to watch the services with watch -n 5 so-status you will get a screen of escape sequences.

This can be avoided by using a shell loop, but there is no reason the tool couldn't also not print colors when not printing to a tty.

JamesMConroy avatar Dec 09 '21 00:12 JamesMConroy