Fix checking config in qemu driver
This commit is contained in:
@@ -478,6 +478,10 @@ static void check_config(VitastorClient *client)
|
|||||||
fprintf(stderr, "vitastor: failed to read %s: %s\n", client->config_path, strerror(errno));
|
fprintf(stderr, "vitastor: failed to read %s: %s\n", client->config_path, strerror(errno));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!r)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
done += r;
|
done += r;
|
||||||
}
|
}
|
||||||
obj = qobject_from_json(data
|
obj = qobject_from_json(data
|
||||||
|
|||||||
Reference in New Issue
Block a user