summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",