summaryrefslogtreecommitdiffstats
path: root/perl-install/modules/interactive.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-01-02 10:02:15 +0000
committerOlivier Blin <oblin@mandriva.com>2008-01-02 10:02:15 +0000
commit7fe534514efe8beaa25368e1bb723e7d1c26fedb (patch)
tree1f312bb9057b42f0be6ca94e026654cbf7567289 /perl-install/modules/interactive.pm
parent75b145c234fd75869948e57a46f208c414bc548d (diff)
downloaddrakx-7fe534514efe8beaa25368e1bb723e7d1c26fedb.tar
drakx-7fe534514efe8beaa25368e1bb723e7d1c26fedb.tar.gz
drakx-7fe534514efe8beaa25368e1bb723e7d1c26fedb.tar.bz2
drakx-7fe534514efe8beaa25368e1bb723e7d1c26fedb.tar.xz
drakx-7fe534514efe8beaa25368e1bb723e7d1c26fedb.zip
harddrake: allow to set zero values in module options (#26515)
Diffstat (limited to 'perl-install/modules/interactive.pm')
-rw-r--r--perl-install/modules/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules/interactive.pm b/perl-install/modules/interactive.pm
index df462e0f9..ca2a90f42 100644
--- a/perl-install/modules/interactive.pm
+++ b/perl-install/modules/interactive.pm
@@ -20,7 +20,7 @@ sub config_window {
return;
}
if ($in->ask_from(N("Module configuration"), N("You can configure each parameter of the module here."), \@l)) {
- my $options = join(' ', map { if_($conf{$_}, "$_=$conf{$_}") } keys %conf);
+ my $options = join(' ', map { if_(defined $conf{$_}, "$_=$conf{$_}") } keys %conf);
if ($options) {
$modules_conf->set_options($data->{driver}, $options);
$modules_conf->write;