summaryrefslogtreecommitdiffstats
path: root/scripts/bandwidth.pl
diff options
context:
space:
mode:
authorDavid Leadbeater2014-10-23 12:56:04 +0100
committerDavid Leadbeater2014-10-23 12:56:04 +0100
commitff9a44047a299bce4995c22fd6f15851e1b065ee (patch)
tree22fe1a5be481bb64d70243bdea9762639ee2ff41 /scripts/bandwidth.pl
parent5d2811af5d3d29b524936ac95e7b1b3d5144a9ce (diff)
parent2329fe260d3393c6bcbc868cb3f7a33d324b1910 (diff)
downloadscripts.irssi.org-ff9a44047a299bce4995c22fd6f15851e1b065ee.tar.bz2
Merge pull request #79 from obfuscoder/perlcritic-bcd
Fix perlcritic issues for all scripts starting with b,c,d
Diffstat (limited to 'scripts/bandwidth.pl')
-rw-r--r--scripts/bandwidth.pl2
1 files changed, 1 insertions, 1 deletions
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;