[pve-devel] [PATCH V2 pve-zsync 1/3] fix wrong quoting in qemu disk check.
Wolfgang Link
w.link at proxmox.com
Wed Mar 15 11:57:48 CET 2017
---
pve-zsync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-zsync b/pve-zsync
index 4993bed..38357a5 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -775,7 +775,7 @@ sub parse_disks {
next if $line !~ m/^(?:((?:virtio|ide|scsi|sata|mp)\d+)|rootfs): /;
#QEMU if backup is not set include in sync
- next if $vm_type eq 'qemu && ($line =~ m/backup=(?i:0|no|off|false)/)';
+ next if $vm_type eq 'qemu' && ($line =~ m/backup=(?i:0|no|off|false)/);
#LXC if backup is not set do no in sync
$error = ($line =~ m/backup=(?i:1|yes|on|true)/) if $vm_type eq 'lxc';
--
2.1.4
More information about the pve-devel
mailing list