From: Thomas Lamprecht Date: Thu, 22 Feb 2024 13:27:56 +0000 (+0100) Subject: smtp-filter: whitespace and indentation clean-ups X-Git-Url: https://git.proxmox.com/?p=pmg-api.git;a=commitdiff_plain;h=e952aea7984c261e6680f18d782e27179e534017 smtp-filter: whitespace and indentation clean-ups Signed-off-by: Thomas Lamprecht --- diff --git a/src/bin/pmg-smtp-filter b/src/bin/pmg-smtp-filter index 835af2d..854d9bb 100755 --- a/src/bin/pmg-smtp-filter +++ b/src/bin/pmg-smtp-filter @@ -70,10 +70,12 @@ my $prog_name = 'pmg-smtp-filter'; initlog($prog_name, 'mail'); -if (!GetOptions ('testmode=s' => \$opt_testmode, - 'pidfile=s' => \$opt_pidfile, - 'untrusted' => \$opt_untrusted, - 'database=s' => \$opt_database)) { +if (!GetOptions( + 'testmode=s' => \$opt_testmode, + 'pidfile=s' => \$opt_pidfile, + 'untrusted' => \$opt_untrusted, + 'database=s' => \$opt_database +)) { die "usage error\n"; exit (-1); } @@ -949,9 +951,11 @@ if (!$opt_testmode) { } else { my $sender ='sender@pmg.example'; - my $targets = ['target1@pmg.example', - 'target2@pmg.example', - 'target3@pmg.example']; + my $targets = [ + 'target1@pmg.example', + 'target2@pmg.example', + 'target3@pmg.example', + ]; my $smtp; while (!$smtp) {