X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pve-zsync;h=bf7189484c39aed79a895eae67157a3a9e2882a0;hb=44408b4a3ad0d24f41c345b8332e4533c1fe3121;hp=8d083ba93af3ad7dc5d1b844af5421f73abb145e;hpb=0cb441cbe0fbc558043bfbcb8e737a8b46611dac;p=pve-zsync.git diff --git a/pve-zsync b/pve-zsync index 8d083ba..bf71894 100644 --- a/pve-zsync +++ b/pve-zsync @@ -791,12 +791,9 @@ sub parse_disks { last; } } - if (!defined($disk) || !defined($stor)) { - print "Disk: \"$line\" has no valid zfs dataset format and will not include in pve-sync\n"; - next; - } - } else { - print "Disk: \"$line\" has no valid zfs dataset format and will not include in pve-sync\n"; + } + if (!defined($disk) || !defined($stor)) { + print "Disk: \"$line\" has no valid zfs dataset format and will be skipped\n"; next; }