summaryrefslogtreecommitdiffstats
path: root/perl-install/security/main.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-11 22:20:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-11 22:20:22 +0000
commit22ad938758373ec4e2f8490d62f2cdc237d50d7c (patch)
tree7848808920e41e4bbdee22867646139e7a907099 /perl-install/security/main.pm
parentbfd84f6e2df1b083c8d95f6f8a84ede73d36dfea (diff)
downloaddrakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar
drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.gz
drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.bz2
drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.xz
drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.zip
- replace ... =~ 'foo' with ... =~ /foo/
- remove unneeded parentheses for things like ... if (...)
Diffstat (limited to 'perl-install/security/main.pm')
-rw-r--r--perl-install/security/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm
index 40dae3daf..ba15e01c2 100644
--- a/perl-install/security/main.pm
+++ b/perl-install/security/main.pm
@@ -57,7 +57,7 @@ sub basic_seclevel_option {
my @sec_levels = $msec->get_seclevel_list();
my $current_level = $msec->get_secure_level();
- push(@sec_levels, $current_level) if ($current_level eq "Dangerous" || $current_level eq "Poor");
+ push(@sec_levels, $current_level) if $current_level eq "Dangerous" || $current_level eq "Poor";
$$seclevel_entry->entry->set_editable(0);
$$seclevel_entry->set_popdown_strings(@sec_levels);