]> git.proxmox.com Git - pve-zsync.git/commitdiff
fix wrong quoting in qemu disk check.
authorWolfgang Link <w.link@proxmox.com>
Wed, 15 Mar 2017 10:57:48 +0000 (11:57 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 17 Mar 2017 14:34:08 +0000 (15:34 +0100)
pve-zsync

index 4993bedf8ff16b2821780715e6fb9920c371a851..38357a5209d4c07a672b98d6d34809bf522be84a 100644 (file)
--- 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';