diff options
author | David Tardon <dtardon@redhat.com> | 2023-05-05 08:46:51 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2023-05-05 08:49:37 +0200 |
commit | 9f2f16a344e8a7660756859dcd303f0bf5763b05 (patch) | |
tree | 25ac8b75ffe3d48f27b30838e98110961a86b81f /src/core | |
parent | 92c5d3ff306b7098b5a55d808af1a75497e940c1 (diff) | |
download | systemd-9f2f16a344e8a7660756859dcd303f0bf5763b05.tar.gz |
main: add missing return
Follow-up-for: 2b5107e1625e0847179da0d35eb544192766886f
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.c | 2 |
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", |