mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
Fix typo in storage cloning
This commit is contained in:
parent
c2709cdaaa
commit
2cc33bfe20
@ -567,7 +567,7 @@ virStorageBackendGetBuildVolFromFunction(virConnectPtr conn,
|
|||||||
(inputvol->type == VIR_STORAGE_VOL_FILE &&
|
(inputvol->type == VIR_STORAGE_VOL_FILE &&
|
||||||
inputvol->target.format != VIR_STORAGE_VOL_FILE_RAW)) {
|
inputvol->target.format != VIR_STORAGE_VOL_FILE_RAW)) {
|
||||||
|
|
||||||
if ((tool_type = virStorageBackendFindFSImageTool(NULL)) != -1) {
|
if ((tool_type = virStorageBackendFindFSImageTool(NULL)) < 0) {
|
||||||
virStorageReportError(conn, VIR_ERR_INTERNAL_ERROR,
|
virStorageReportError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("creation of non-raw file images is "
|
"%s", _("creation of non-raw file images is "
|
||||||
"not supported without qemu-img."));
|
"not supported without qemu-img."));
|
||||||
|
Loading…
Reference in New Issue
Block a user