projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b387778
)
dissect: make image name bold
author
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Nov 2022 21:51:42 +0000
(22:51 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 10 Nov 2022 15:00:59 +0000
(16:00 +0100)
src/dissect/dissect.c
patch
|
blob
|
history
diff --git
a/src/dissect/dissect.c
b/src/dissect/dissect.c
index 2512cd0f0b934d142d9d99f711221bbaea9c5745..1ee4119d4f4fa5ae64c9d68ef9e53e0227146fe4 100644
(file)
--- a/
src/dissect/dissect.c
+++ b/
src/dissect/dissect.c
@@
-568,7
+568,7
@@
static int action_dissect(DissectedImage *m, LoopDevice *d) {
pager_open(arg_pager_flags);
if (arg_json_format_flags & JSON_FORMAT_OFF)
- printf(" Name: %s
\n", bn
);
+ printf(" Name: %s
%s%s\n", ansi_highlight(), bn, ansi_normal()
);
if (ioctl(d->fd, BLKGETSIZE64, &size) < 0)
log_debug_errno(errno, "Failed to query size of loopback device: %m");