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:
parent
968cdfe85c
commit
1fe362eb85
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user