From 16197e1fa9b366d700d918d4832522075bd9af0c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 12 Apr 2010 12:34:38 +0000 Subject: [drakboot] fix text for "restricted" option --- perl-install/any.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/any.pm') 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")); -- cgit v1.2.1