run: simplify returning of status
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 2 Apr 2023 19:50:19 +0000 (21:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2023 08:02:30 +0000 (10:02 +0200)
commitac9a75d05e671021add6f9334878b7a8056cfb2d
tree6afde9d8957ee55292948e3e65caa5191a85c3c3
parent0a27d86a3f3d6b577a094f6024a1db0eac76da85
run: simplify returning of status

start_transient_service() would return two ints: one normally and one via
*retval. We can just return one int and propagate it directly, because we
use DEFINE_MAIN_FUNCTION_WITH_POSITIVE_FAILURE().
src/run/run.c