From: Dirk Koopman Date: Sat, 22 Sep 2007 15:08:00 +0000 (+0200) Subject: fix mrtg script X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=bdca552e807c5599317c08b7c54e993e43bfcaec;p=spider.git fix mrtg script --- diff --git a/cmd/mrtg.pl b/cmd/mrtg.pl index 9e6112c6..93adf332 100644 --- a/cmd/mrtg.pl +++ b/cmd/mrtg.pl @@ -142,5 +142,11 @@ if ($want{wcy} || $want{all}) { # # do the mrtg thing # -my @out = $mc->run unless $want{nomrtg}; + +my @out; +{ +local %ENV; +$ENV{LANG} = 'C'; +@out = $mc->run unless $want{nomrtg}; +} return (1, @out);