summaryrefslogtreecommitdiffstats
path: root/perl-install/security
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-24 15:38:46 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-24 15:38:46 +0000
commit6c6f130748137d2023073be9013127708134fadb (patch)
treefd1d284d591522c848f0ea43e01f630ebb26e556 /perl-install/security
parenta0c55b75dcbdbe41b3b14a1f59213f371d154e9f (diff)
downloaddrakx-backup-do-not-use-6c6f130748137d2023073be9013127708134fadb.tar
drakx-backup-do-not-use-6c6f130748137d2023073be9013127708134fadb.tar.gz
drakx-backup-do-not-use-6c6f130748137d2023073be9013127708134fadb.tar.bz2
drakx-backup-do-not-use-6c6f130748137d2023073be9013127708134fadb.tar.xz
drakx-backup-do-not-use-6c6f130748137d2023073be9013127708134fadb.zip
let simplify
Diffstat (limited to 'perl-install/security')
-rw-r--r--perl-install/security/main.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm
index 8cc844aff..0ed54f84c 100644
--- a/perl-install/security/main.pm
+++ b/perl-install/security/main.pm
@@ -181,8 +181,7 @@ sub draksec_main {
$w = wait_msg(_("Please wait, setting security options..."));
standalone::explanations("Setting security administrator option");
- if ($secadmin_check_value == 1) { $msec->config_check('MAIL_WARN', 'yes') }
- else { $msec->config_check('MAIL_WARN', 'no') }
+ $msec->config_check('MAIL_WARN', $secadmin_check_value == 1 ? 'yes' : 'no');
standalone::explanations("Setting security administrator contact");
if ($secadmin_value ne $msec->get_check_value('MAIL_USER') && $secadmin_check_value) {