Align correctly when passing output to grep.
This commit is contained in:
parent
76d3ee58e1
commit
034a18c548
@ -55,7 +55,7 @@ static void print_service (char *service)
|
|||||||
} else
|
} else
|
||||||
snprintf (status, sizeof (status), " stopped ");
|
snprintf (status, sizeof (status), " stopped ");
|
||||||
|
|
||||||
if (! rc_env_bool ("RC_NOCOLOR"))
|
if (isatty (fileno (stdout)) && ! rc_env_bool ("RC_NOCOLOR"))
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
ebracket (cols, color, status);
|
ebracket (cols, color, status);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user