From 32f9c7687450b414b7c4018e7aae90982f5715c8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 27 Jul 2004 06:49:59 +0000 Subject: (check_sendmail) speedup quite a lot sendmail check --- postfix_wizard/Postfix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postfix_wizard') 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; } -- cgit v1.2.1