diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-01-02 10:30:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-01-02 10:30:26 +0000 |
commit | 7179f953887f95c440a7c85f7632f429daa97a0c (patch) | |
tree | 167ec3b00dc231f64bf3393ebdfa1723cc0bdd12 | |
parent | 7fe534514efe8beaa25368e1bb723e7d1c26fedb (diff) | |
download | drakx-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)
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/harddrake/data.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index e767967c7..2850ce0e6 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - harddrake: o allow to set zero values in module options (#26515) + o make "Run config tool" available again (#34794) - handle atl2 ethernet driver Version 10.6 - 11 December 2007, by Thierry Vignaud 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 { |