diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-24 15:38:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-24 15:38:46 +0000 |
commit | 6c6f130748137d2023073be9013127708134fadb (patch) | |
tree | fd1d284d591522c848f0ea43e01f630ebb26e556 /perl-install/security/main.pm | |
parent | a0c55b75dcbdbe41b3b14a1f59213f371d154e9f (diff) | |
download | drakx-6c6f130748137d2023073be9013127708134fadb.tar drakx-6c6f130748137d2023073be9013127708134fadb.tar.gz drakx-6c6f130748137d2023073be9013127708134fadb.tar.bz2 drakx-6c6f130748137d2023073be9013127708134fadb.tar.xz drakx-6c6f130748137d2023073be9013127708134fadb.zip |
let simplify
Diffstat (limited to 'perl-install/security/main.pm')
-rw-r--r-- | perl-install/security/main.pm | 3 |
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) { |