core/execute-serialize: fix error handling
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6f0731cf34
commit
cd13dc16c3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user