]> git.ipfire.org Git - thirdparty/systemd.git/commit
factory-reset-tool: error out if we can't cancel pending reset
authorMike Yuan <me@yhndnzj.com>
Wed, 5 Mar 2025 16:01:04 +0000 (17:01 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 5 Mar 2025 16:17:21 +0000 (17:17 +0100)
commit97be702ffcbe310c0660052ee53b9ed45d5d61ca
tree44856d7fd9b8001535fc8d1346a51f5b7928a804
parentf1d790a18bef5ceaa9dc151d7a5f80a128b3ab0c
factory-reset-tool: error out if we can't cancel pending reset

First of all, it seems very unlikely that we'd be in the pending state
if not booted via EFI in the first place. Moreover, the operation didn't
work out, hence let's not spurious report success.
src/factory-reset/factory-reset-tool.c