Merge pull request #1865 from Security-Onion-Solutions/issue/1864

make so-status line color same as service state
This commit is contained in:
Josh Patterson
2020-11-09 18:17:05 -05:00
committed by GitHub

View File

@@ -175,7 +175,7 @@ print_line() {
printf " $service_name " printf " $service_name "
for i in $(seq 0 $(( $columns - $PADDING_CONSTANT - ${#service_name} - ${#service_state} ))); do for i in $(seq 0 $(( $columns - $PADDING_CONSTANT - ${#service_name} - ${#service_state} ))); do
printf "-" printf "${state_color}%b\e[0m" "-"
done done
printf " [ " printf " [ "
printf "${state_color}%b\e[0m" "$service_state" printf "${state_color}%b\e[0m" "$service_state"