]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: fix "caches" header
authorKarel Zak <kzak@redhat.com>
Wed, 28 Apr 2021 08:51:07 +0000 (10:51 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 28 Apr 2021 08:51:07 +0000 (10:51 +0200)
commit071d3135d37f8f1dd1c5a994e0eda23ddeeddafc
tree583b716588a615da994854db0d5156b92c28750d
parent1f54d9cc09079b7aac3f0e578b52dcee3a377d0a
lscpu: fix "caches" header

It's possible that lscpu does not print any caches if full caches size
is zero. In this case we do not need the header.

Addresses: https://github.com/karelzak/util-linux/issues/1207
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.c