main: add missing return

Follow-up-for: 2b5107e162
This commit is contained in:
David Tardon 2023-05-05 08:46:51 +02:00
parent 92c5d3ff30
commit 9f2f16a344

View file

@ -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",