]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl-status: several follow-ups for unlink command
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 25 Jan 2023 02:26:21 +0000 (11:26 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 25 Jan 2023 10:51:50 +0000 (10:51 +0000)
commita0344b17ddf128c5e9688a9c3e20e06498ccb58a
tree939aa10dfd24552ed120c4519e801e3ae98dca4d
parent1b7586df976d7b033b4901a099337d83578bb8f1
bootctl-status: several follow-ups for unlink command

Follow-ups for 8702496bfb0205764569782a9a2ebd11fd80e5e8.

- add missing error cause in logging,
- add several missing assertions,
- drop an unnecessary initialization,
- make boot_config_find_in() return negative errno if nothing found,
- and several coding style fixlets.
src/boot/bootctl-status.c