From b55506c8fc80035af7244edcc98c52ef8ddcc2c8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 2 Jan 2008 18:27:15 +0000 Subject: make "Run config tool" available again (#34794, backport from trunk) --- perl-install/NEWS | 1 + perl-install/harddrake/data.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index ef3426e94..7cfefeddb 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -16,6 +16,7 @@ o mark the service as interactive, so that package requests are displayed with parallell init o allow to set zero values in module options (#26515) + o make "Run config tool" available again (#34794) Version 10.4.239 - 5 October 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 { -- cgit v1.2.1