4223. [bug] Improve HTTP header processing on statschannel.

[RT #41674]
This commit is contained in:
Mark Andrews
2016-03-02 11:04:59 +11:00
parent 40401165e4
commit ce7216c40a
3 changed files with 91 additions and 29 deletions

View File

@@ -57,7 +57,7 @@ gettraffic() {
*) return 1 ;;
esac
file=`$PERL fetch.pl $path`
$PERL traffic-${1}.pl $file | sort > traffic.out.$2
$PERL traffic-${1}.pl $file 2>/dev/null | sort > traffic.out.$2
result=$?
rm -f $file
return $result