]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: address review feedback on component/reboot guard 42578/head
authorArmaan Sandhu <armaan.sandhu0504@gmail.com>
Sat, 13 Jun 2026 09:25:12 +0000 (14:55 +0530)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Jun 2026 18:52:24 +0000 (19:52 +0100)
commit19e40a6de9594ccc0f69353092d7ac266d833ed3
treea875c93d2b522e5facd329014554501412fd5c8f
parent095e67743663c3b2463f68b8ccb229272969de79
sysupdate: address review feedback on component/reboot guard

Move the --reboot/--component= rejection into parse_argv() alongside the
other cross-option checks, and tighten TEST-72 to assert the specific
guard message rather than merely a non-zero exit.
src/sysupdate/sysupdate.c
test/units/TEST-72-SYSUPDATE.sh