From 6c6f130748137d2023073be9013127708134fadb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 24 Sep 2002 15:38:46 +0000 Subject: let simplify --- perl-install/security/main.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/security') 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) { -- cgit v1.2.1