]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/fix-qemu-img-snapshot-removal.patch
Two more fixes
[pve-qemu-kvm.git] / debian / patches / fix-qemu-img-snapshot-removal.patch
CommitLineData
49adae7d
DM
1Index: new/qemu-img.c
2===================================================================
24bb7da3
DM
3--- new.orig/qemu-img.c 2014-11-20 06:45:06.000000000 +0100
4+++ new/qemu-img.c 2014-11-20 06:51:05.000000000 +0100
5@@ -2080,7 +2080,8 @@
d9a08c81
DM
6
7 list = collect_image_info_list(filename, fmt, chain);
8 if (!list) {
9- return 1;
49adae7d 10+ // return success if snapshot does not exists
d9a08c81 11+ return 0;
49adae7d
DM
12 }
13
d9a08c81 14 switch (output_format) {