diff options
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d0a03d9f29..c20a82b8b4 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3823,9 +3823,11 @@ static int cat(sd_bus *bus, char **args) { } STRV_FOREACH(path, dropin_paths) { - printf("%s# %s\n", + printf("%s%s# %s%s\n", isempty(fragment_path) && path == dropin_paths ? "" : "\n", - *path); + ansi_highlight_blue(), + *path, + ansi_highlight_off()); fflush(stdout); r = sendfile_full(STDOUT_FILENO, *path); |