]> git.proxmox.com Git - pve-qemu.git/blobdiff - debian/patches/pve/0003-qemu-img-return-success-on-info-without-snapshots.patch
bump version to 2.11.1-1
[pve-qemu.git] / debian / patches / pve / 0003-qemu-img-return-success-on-info-without-snapshots.patch
index cd5ed3d1523b4b88df5551296778f2ccb42828df..71d858897d3e66fa56b496e651af7a000cef94aa 100644 (file)
@@ -8,12 +8,12 @@ Subject: [PATCH] qemu-img: return success on info without snapshots
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/qemu-img.c b/qemu-img.c
-index e4a2686f56..c7804d63ee 100644
+index 68b375f998..f8a39dd195 100644
 --- a/qemu-img.c
 +++ b/qemu-img.c
-@@ -2596,7 +2596,8 @@ static int img_info(int argc, char **argv)
-     list = collect_image_info_list(image_opts, filename, fmt, chain);
+@@ -2594,7 +2594,8 @@ static int img_info(int argc, char **argv)
+     list = collect_image_info_list(image_opts, filename, fmt, chain,
+                                    force_share);
      if (!list) {
 -        return 1;
 +      // return success if snapshot does not exists