From: Anton Yuzhaninov Date: Tue, 16 Jul 2019 20:27:05 +0000 (+0100) Subject: [Minor] Use three argument open X-Git-Tag: 2.0~567^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=809cd1e03fd56a9c6fd8af69eb69619e94827e6e;p=rspamd.git [Minor] Use three argument open Fixes tidyall check. --- diff --git a/utils/asn.pl b/utils/asn.pl index 0854ae5f7..d78277459 100644 --- a/utils/asn.pl +++ b/utils/asn.pl @@ -145,7 +145,7 @@ foreach my $u ( @{ $config{'bgp_sources'} } ) { F_ORIGIN => 7, }; - open(my $bgpd, "bgpdump -v -M $fname |") or die "can't start bgpdump: $!"; + open(my $bgpd, '-|', "bgpdump -v -M $fname") or die "can't start bgpdump: $!"; while (<$bgpd>) { chomp;