From: Yu Watanabe Date: Sun, 5 Oct 2025 17:41:15 +0000 (+0900) Subject: sysctl: shorten code a bit X-Git-Tag: v259-rc1~372^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a81259051c77f452f341d991e0bfc266dd0bfdcd;p=thirdparty%2Fsystemd.git sysctl: shorten code a bit --- diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index c2b5ca05c5d..4490b9de0bb 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -483,9 +483,7 @@ static int run(int argc, char *argv[]) { RET_GATHER(r, read_credential_lines(&sysctl_options)); } - RET_GATHER(r, apply_all(sysctl_options)); - - return r; + return RET_GATHER(r, apply_all(sysctl_options)); } DEFINE_MAIN_FUNCTION(run);