core/execute-serialize: fix error handling

This commit is contained in:
Mike Yuan
2026-06-13 17:11:11 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 6f0731cf34
commit cd13dc16c3
+2 -2
View File
@@ -3278,7 +3278,7 @@ static int exec_context_deserialize(ExecContext *c, FILE *f) {
r = extract_first_word(&val, &options, NULL, EXTRACT_UNQUOTE);
if (r < 0)
return -r;
return r;
if (isempty(options) || streq(options, "rbind"))
rbind = true;
@@ -3337,7 +3337,7 @@ static int exec_context_deserialize(ExecContext *c, FILE *f) {
r = extract_first_word(&val, &options, NULL, EXTRACT_UNQUOTE);
if (r < 0)
return -r;
return r;
if (isempty(options) || streq(options, "rbind"))
rbind = true;