From 2329fe260d3393c6bcbc868cb3f7a33d324b1910 Mon Sep 17 00:00:00 2001 From: Obfuscoder Date: Fri, 17 Oct 2014 20:34:00 +0200 Subject: Fix perlcritic issues for all scripts starting with b,c,d --- scripts/bandwidth.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/bandwidth.pl') diff --git a/scripts/bandwidth.pl b/scripts/bandwidth.pl index c9964da..a614d17 100644 --- a/scripts/bandwidth.pl +++ b/scripts/bandwidth.pl @@ -43,7 +43,7 @@ sub get_stats my ($old_in, $old_out) = ($last_in, $last_out); my @localstats; - if (open my $fh, "$command|") + if (open my $fh, q{-|}, $command) { @localstats = <$fh>; close $fh; -- cgit v1.2.3