]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: image size can be unset, suppres in JSON output then
authorLennart Poettering <lennart@poettering.net>
Tue, 10 Oct 2023 16:27:33 +0000 (18:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Oct 2023 13:56:08 +0000 (15:56 +0200)
commit1c5cc6c552cd9e178b4e4293ced42085c0caff96
tree17b55143c205d315493c9e7f6781e26b9c95e32f
parent6e0b5cd36b07cc6b28358bec69eb9fa3842ac150
dissect: image size can be unset, suppres in JSON output then

The ioctl() failure we handle gracefully, hence also reflect that in the
JSON output.

(While we are at it, bring JSON output into same order as textual
output, i.e. move uuid down a bit.)
src/dissect/dissect.c