summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index ad875b352..bc0584bd0 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -964,8 +964,8 @@ sub pcmcia_probe() {
} all($dev_dir);
}
-my $dmi_probe;
sub dmi_probe() {
+ state $dmi_probe;
if (arch() !~ /86/) {
return [];
}