summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-01-02 10:30:26 +0000
committerOlivier Blin <oblin@mandriva.com>2008-01-02 10:30:26 +0000
commit7179f953887f95c440a7c85f7632f429daa97a0c (patch)
tree167ec3b00dc231f64bf3393ebdfa1723cc0bdd12 /perl-install/harddrake
parent7fe534514efe8beaa25368e1bb723e7d1c26fedb (diff)
downloaddrakx-7179f953887f95c440a7c85f7632f429daa97a0c.tar
drakx-7179f953887f95c440a7c85f7632f429daa97a0c.tar.gz
drakx-7179f953887f95c440a7c85f7632f429daa97a0c.tar.bz2
drakx-7179f953887f95c440a7c85f7632f429daa97a0c.tar.xz
drakx-7179f953887f95c440a7c85f7632f429daa97a0c.zip
do no return 0 in harddrake::data::set_removable_configurator so that "Run config tool" gets available again in harddrake (#34794)
Diffstat (limited to 'perl-install/harddrake')
-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 3a8bdd6ba..0e4c3a069 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -40,7 +40,7 @@ sub is_auto_configurable_media { is_removable($_[0]) || member($_[0], qw(HARDDIS
sub set_removable_configurator {
my ($class, $device) = @_;
- return "/usr/sbin/diskdrake --removable=$device->{device}" if is_removable($class);
+ is_removable($class) ? "/usr/sbin/diskdrake --removable=$device->{device}" : undef;
}
sub set_media_auto_configurator {