]> git.ipfire.org Git - thirdparty/systemd.git/commit
report: simplify error propagation 40642/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Mon, 9 Feb 2026 11:15:56 +0000 (12:15 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 11 Feb 2026 14:31:37 +0000 (15:31 +0100)
commit3604664638cb0733f5ed199c621dcebddb0fae5f
tree608fae0ee2c8c050eb55f9229db0c701963f4957
parent4f78e5fa86584d94c871f8a24ada387cbbb51200
report: simplify error propagation

Returning EXIT_* from an inner function is unusual and better
avoided. Let's just return a negative value and let the caller
do the conversion.
src/report/report.c