mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-20 15:00:18 +00:00
followup: minor cleanup/error message spelling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
844b55fb89
commit
c7728fdb85
@ -2247,9 +2247,7 @@ sub parse_hostpci {
|
|||||||
delete $res->{host};
|
delete $res->{host};
|
||||||
foreach my $id (@idlist) {
|
foreach my $id (@idlist) {
|
||||||
my $devs = PVE::SysFSTools::lspci($id);
|
my $devs = PVE::SysFSTools::lspci($id);
|
||||||
if (!scalar(@$devs)) {
|
die "no PCI device found for '$id'\n" if !scalar(@$devs);
|
||||||
die "no pci device found for '$id'\n";
|
|
||||||
}
|
|
||||||
push @{$res->{pciid}}, @$devs;
|
push @{$res->{pciid}}, @$devs;
|
||||||
}
|
}
|
||||||
return $res;
|
return $res;
|
||||||
|
Loading…
Reference in New Issue
Block a user