mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-08 21:18:03 +03: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};
|
||||
foreach my $id (@idlist) {
|
||||
my $devs = PVE::SysFSTools::lspci($id);
|
||||
if (!scalar(@$devs)) {
|
||||
die "no pci device found for '$id'\n";
|
||||
}
|
||||
die "no PCI device found for '$id'\n" if !scalar(@$devs);
|
||||
push @{$res->{pciid}}, @$devs;
|
||||
}
|
||||
return $res;
|
||||
|
Loading…
Reference in New Issue
Block a user