mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
fix cp issue
This commit is contained in:
@@ -1212,7 +1212,7 @@ EOF
|
||||
seen_devices["$dev_target"]=1
|
||||
|
||||
pci_addr=$(basename "$bypath" | cut -d- -f1 --complement | sed 's/-render//' || true)
|
||||
pci_info=$(lspci -nn | grep "$pci_addr" || true)
|
||||
pci_info=$(lspci -nn | grep "${pci_addr#0000:}" || true)
|
||||
name="${pci_info#*: }"
|
||||
[[ -z "$name" ]] && name="Unknown GPU ($pci_addr)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user