systemctl: fix visual alignment for lines prefixed with color dots

(cherry picked from commit b7bbdabeb4)
This commit is contained in:
Michal Schmidt
2014-07-19 13:37:58 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent a1a46db860
commit bcb9473604
+1 -1
View File
@@ -456,7 +456,7 @@ static int output_units_list(const UnitInfo *unit_infos, unsigned c) {
}
if (circle_len > 0)
printf("%s%s%s", on_circle, circle ? draw_special_char(DRAW_BLACK_CIRCLE) : " ", off_circle);
printf("%s%s%s ", on_circle, circle ? draw_special_char(DRAW_BLACK_CIRCLE) : " ", off_circle);
printf("%s%-*s%s %s%-*s%s %s%-*s %-*s%s %-*s",
on_active, id_len, id, off_active,