securityonion
securityonion copied to clipboard
FIX: so-status is unreadable when using `watch(1)`
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.