diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-07-27 06:49:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-07-27 06:49:59 +0000 |
commit | 32f9c7687450b414b7c4018e7aae90982f5715c8 (patch) | |
tree | f7fb8b7371342e14a79d20f7ab4ca21619565f5e | |
parent | 84a16a711446b3f1b374aa6722f5836a9007d29d (diff) | |
download | drakwizard-32f9c7687450b414b7c4018e7aae90982f5715c8.tar drakwizard-32f9c7687450b414b7c4018e7aae90982f5715c8.tar.gz drakwizard-32f9c7687450b414b7c4018e7aae90982f5715c8.tar.bz2 drakwizard-32f9c7687450b414b7c4018e7aae90982f5715c8.tar.xz drakwizard-32f9c7687450b414b7c4018e7aae90982f5715c8.zip |
(check_sendmail) speedup quite a lot sendmail check
-rwxr-xr-x | postfix_wizard/Postfix.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix_wizard/Postfix.pm b/postfix_wizard/Postfix.pm index 5a0f49fc..3daf1f70 100755 --- a/postfix_wizard/Postfix.pm +++ b/postfix_wizard/Postfix.pm @@ -168,7 +168,7 @@ sub new { sub check_sendmail { my $in = 'interactive'->vnew('su', 'Check sendmail'); my $w = $in->wait_message(N("Postfix Server"), N("removing Sendmail to avoid conflict....")); - my $test = any { /sendmail/ } system("rpm -qa sendmail"); + my $test = any { /sendmail/ } system("rpm -q sendmail"); !$test or return 'error_sendmail'; undef $w; } |