diff options
-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; } |