diff options
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index f6bcad1c07..b3c129be78 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2469,9 +2469,7 @@ static int object_parse_property_opt(Object *obj, return 0; } - object_property_parse(obj, name, value, &local_err); - - if (local_err) { + if (!object_property_parse(obj, name, value, &local_err)) { error_propagate(errp, local_err); return -1; } |