summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index bc4e6e27c..da30a04fb 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -780,11 +780,7 @@ sub pci_probe__real() {
} c::pci_probe());
}
sub pci_probe() {
- if ($::isStandalone && @pci) {
- @pci;
- } else {
- @pci = pci_probe__real();
- }
+ @pci = pci_probe__real() if !@pci;
}
sub usb_probe__real() {