]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Add a flag to control error behaviour in internal function
authorPhilip Withnall <pwithnall@gnome.org>
Thu, 21 May 2026 10:17:56 +0000 (11:17 +0100)
committerPhilip Withnall <pwithnall@gnome.org>
Fri, 22 May 2026 10:46:24 +0000 (11:46 +0100)
commita7a1bc8678050ae922d6de688bfa6ea5f241b44f
treecae407304d6cbfe4f4e338d9e5541dca10f3393f
parentf4a3acb6ed214b183e1931a81dbf6eb0af913aa8
sysupdate: Add a flag to control error behaviour in internal function

Optionally prevent `context_read_definitions()` erroring out if zero
transfer definitions were found.

This commit makes no functional changes (the flag is always passed to
calls to `context_make_offline()` for the moment), but the new flag will be
used in the following commit.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: https://github.com/systemd/systemd/issues/41501
src/sysupdate/sysupdate.c