summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-04-12 12:34:38 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-04-12 12:34:38 +0000
commit16197e1fa9b366d700d918d4832522075bd9af0c (patch)
treebb885b1959d1972b3e652367ece1ebd20c66428a
parent9e38065045c87707cb058555e386c8559c932ad4 (diff)
downloaddrakx-16197e1fa9b366d700d918d4832522075bd9af0c.tar
drakx-16197e1fa9b366d700d918d4832522075bd9af0c.tar.gz
drakx-16197e1fa9b366d700d918d4832522075bd9af0c.tar.bz2
drakx-16197e1fa9b366d700d918d4832522075bd9af0c.tar.xz
drakx-16197e1fa9b366d700d918d4832522075bd9af0c.zip
[drakboot] fix text for "restricted" option
-rw-r--r--perl-install/any.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 7c1673eae..0b2d0fb8d 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -438,8 +438,7 @@ sub setupBootloader__general {
$ok && $ok2;
} },
{ label => N("Password (again)"), val => \$b->{password2}, hidden => 1 },
- { text => N("Restrict command line options"), val => \$b->{restricted}, type => "bool",
- text => N("restrict"), advanced => 1,
+ { text => N("Restrict command line options"), val => \$b->{restricted}, type => "bool", advanced => 1,
validate => sub {
my $ok = !$b->{restricted} || $b->{password}
or $in->ask_warn('', N("Option ``Restrict command line options'' is of no use without a password"));