5
0
mirror of git://git.proxmox.com/git/pve-zsync.git synced 2024-12-22 21:33:48 +03:00

fix #1301 skip if mp has no backup flag.

This commit is contained in:
Wolfgang Link 2017-03-15 11:57:49 +01:00 committed by Wolfgang Bumiller
parent 968cdfe85c
commit 1fe362eb85

View File

@ -778,7 +778,7 @@ sub parse_disks {
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';
next if $vm_type eq 'lxc' && ($line =~ m/^mp\d:/) && ($line !~ m/backup=(?i:1|yes|on|true)/);
my $disk = undef;
my $stor = undef;