From 354f36342a638aaeabd2ca7c6e95c9d2f8d505f5 Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Thu, 23 Mar 2017 11:14:37 +0100 Subject: [PATCH] fix check for cdrom. It is false positive if cache mode is set to none. --- pve-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-zsync b/pve-zsync index bf71894..5fa5292 100644 --- a/pve-zsync +++ b/pve-zsync @@ -770,7 +770,7 @@ sub parse_disks { while ($text && $text =~ s/^(.*?)(\n|$)//) { my $line = $1; - next if $line =~ /cdrom|none/; + next if $line =~ /media=cdrom/; next if $line !~ m/^(?:((?:virtio|ide|scsi|sata|mp)\d+)|rootfs): /; #QEMU if backup is not set include in sync -- 2.39.2