mirror of
https://git.proxmox.com/git/pve-zsync
synced 2025-10-05 02:18:35 +00:00
parse disks: improve error messages
The one with the backup flag was reported in the community forum: https://forum.proxmox.com/threads/77254/ Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
a9d3a98b01
commit
c9eb356e15
@ -949,11 +949,12 @@ sub parse_disks {
|
|||||||
$num++;
|
$num++;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
die "ERROR: in path\n";
|
die "unexpected path '$path'\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
die "Vm include no disk on zfs.\n" if !$disks->{0};
|
die "Guest does not include any ZFS volumes (or all are excluded by the backup flag).\n"
|
||||||
|
if !$disks->{0};
|
||||||
return $disks;
|
return $disks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user