summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-14 08:32:46 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-14 08:32:46 +0000
commit8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30 (patch)
tree036284c631e6355c10ddbff8e5708cdf26069060
parente94bf66c9ee56310f3269fb01b30d80b7cc56551 (diff)
downloaddrakx-backup-do-not-use-8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30.tar
drakx-backup-do-not-use-8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30.tar.gz
drakx-backup-do-not-use-8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30.tar.bz2
drakx-backup-do-not-use-8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30.tar.xz
drakx-backup-do-not-use-8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30.zip
since some hard disks are USB models, we've to filtering them out once we've
detected them in order to prevent tem to appear in the "unknown/other" category
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index a9982d34f..7f51a0beb 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -75,7 +75,7 @@ our @tree =
string => N("Disk"),
icon => "harddisk.png",
configurator => "$sbindir/diskdrake",
- detector => \&detect_devices::hds,
+ detector => sub { f(detect_devices::hds()) },
checked_on_boot => 1,
},