summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-27 15:45:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-27 15:45:01 +0000
commitd7ac77de51dbedb8e4b401e4233c48d9996224e5 (patch)
tree0627a4b778ed35f2d63ea4ebeefef3d98953dda9 /perl-install/detect_devices.pm
parent48c25883e2670d8b1f76c69421be57e689db18e1 (diff)
downloaddrakx-d7ac77de51dbedb8e4b401e4233c48d9996224e5.tar
drakx-d7ac77de51dbedb8e4b401e4233c48d9996224e5.tar.gz
drakx-d7ac77de51dbedb8e4b401e4233c48d9996224e5.tar.bz2
drakx-d7ac77de51dbedb8e4b401e4233c48d9996224e5.tar.xz
drakx-d7ac77de51dbedb8e4b401e4233c48d9996224e5.zip
- fix "probe floppies only once" (#43216)
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 731523786..46ebbe6b1 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -51,7 +51,7 @@ sub zips() {
sub floppies {
my ($o_not_detect_legacy_floppies) = @_;
require modules;
- my @fds;
+ state @fds;
state $legacy_already_detected;
if (!$o_not_detect_legacy_floppies && !$legacy_already_detected) {
$legacy_already_detected = 1;