Merge branch 'newpc92timings' of /scm/spider into newpc92timings
[spider.git] / cmd / mrtg.pl
index b2f45af4be0c85631d3ce999e881486478d8df95..93adf33233f69526bc9a8258c46b7b0b7f0f8952 100644 (file)
@@ -25,7 +25,7 @@
 #
 # Copyright (c) 2002 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -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);