mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
manager: use proper unicode arrow in dump
This commit is contained in:
committed by
Luca Boccassi
parent
07296542d6
commit
3a7bb5c99c
@@ -1023,8 +1023,8 @@ static void service_dump(Unit *u, FILE *f, const char *prefix) {
|
||||
if (!s->exec_command[c])
|
||||
continue;
|
||||
|
||||
fprintf(f, "%s-> %s:\n",
|
||||
prefix, service_exec_command_to_string(c));
|
||||
fprintf(f, "%s%s %s:\n",
|
||||
prefix, special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), service_exec_command_to_string(c));
|
||||
|
||||
exec_command_dump_list(s->exec_command[c], f, prefix2);
|
||||
}
|
||||
|
||||
@@ -805,8 +805,8 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
|
||||
if (!s->exec_command[c])
|
||||
continue;
|
||||
|
||||
fprintf(f, "%s-> %s:\n",
|
||||
prefix, socket_exec_command_to_string(c));
|
||||
fprintf(f, "%s%s %s:\n",
|
||||
prefix, special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), socket_exec_command_to_string(c));
|
||||
|
||||
exec_command_dump_list(s->exec_command[c], f, prefix2);
|
||||
}
|
||||
|
||||
@@ -451,8 +451,8 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||
prefix2 = strjoina(prefix, "\t");
|
||||
|
||||
fprintf(f,
|
||||
"%s-> Unit %s:\n",
|
||||
prefix, u->id);
|
||||
"%s%s Unit %s:\n",
|
||||
prefix, special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), u->id);
|
||||
|
||||
SET_FOREACH(t, u->aliases)
|
||||
fprintf(f, "%s\tAlias: %s\n", prefix, t);
|
||||
|
||||
Reference in New Issue
Block a user