summaryrefslogtreecommitdiffstats
path: root/scripts/bandwidth.pl
diff options
context:
space:
mode:
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;