]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: use output mode where "[]" is written instead for empty output
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 17 Nov 2022 14:40:54 +0000 (15:40 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Dec 2022 17:14:52 +0000 (18:14 +0100)
commitc3f0bff9456dcb79f5c929f3d9b15a1a884735df
treef8fad08d808f687c65d1ae6195bd742dc700849e
parent8525bb369a09f488ec77f94e1557ecc2343eb4ab
bootctl: use output mode where "[]" is written instead for empty output

It's easier for the caller if output is always a list, even if there are no
entries.
src/shared/bootspec.c
src/shared/json.c
src/shared/json.h