X-Git-Url: https://git.proxmox.com/?p=pve-qemu-kvm.git;a=blobdiff_plain;f=debian%2Fpatches%2Fpve%2F0004-qemu-img-return-success-on-info-without-snapshots.patch;h=7099699ef84ec5b3eae9f96dd28be56837486287;hp=212fc613e1a62552e1a75b8b6c0aac163eb291dc;hb=b07d35a561b120a03aae9c8c7942abe464b5b4cc;hpb=e43f26f19e60d2e225751f65b64c32f00cd76cce diff --git a/debian/patches/pve/0004-qemu-img-return-success-on-info-without-snapshots.patch b/debian/patches/pve/0004-qemu-img-return-success-on-info-without-snapshots.patch index 212fc61..7099699 100644 --- a/debian/patches/pve/0004-qemu-img-return-success-on-info-without-snapshots.patch +++ b/debian/patches/pve/0004-qemu-img-return-success-on-info-without-snapshots.patch @@ -1,7 +1,7 @@ From 12fbca3c45d694c89e84fb9522e9855b2b8a9952 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 9 Dec 2015 14:18:46 +0100 -Subject: [PATCH 04/41] qemu-img: return success on info without snapshots +Subject: [PATCH 04/54] qemu-img: return success on info without snapshots --- qemu-img.c | 3 ++- @@ -13,7 +13,7 @@ index 033011c..e0637f2 100644 +++ b/qemu-img.c @@ -2112,7 +2112,8 @@ static int img_info(int argc, char **argv) - list = collect_image_info_list(filename, fmt, chain); + list = collect_image_info_list(image_opts, filename, fmt, chain); if (!list) { - return 1; + // return success if snapshot does not exists