summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-05-05 08:46:51 +0200
committerDavid Tardon <dtardon@redhat.com>2023-05-05 08:49:37 +0200
commit9f2f16a344e8a7660756859dcd303f0bf5763b05 (patch)
tree25ac8b75ffe3d48f27b30838e98110961a86b81f /src/core
parent92c5d3ff306b7098b5a55d808af1a75497e940c1 (diff)
downloadsystemd-9f2f16a344e8a7660756859dcd303f0bf5763b05.tar.gz
main: add missing return
Follow-up-for: 2b5107e1625e0847179da0d35eb544192766886f
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index af88fe34bb..0b2eb13d5e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1004,7 +1004,7 @@ static int parse_argv(int argc, char *argv[]) {
r = safe_atoi(optarg, &fd);
if (r < 0)
- log_error_errno(r, "Failed to parse deserialize option \"%s\": %m", optarg);
+ return log_error_errno(r, "Failed to parse deserialize option \"%s\": %m", optarg);
if (fd < 0)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"Invalid deserialize fd: %d",