projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f4c467
)
fix mrtg script
author
Dirk Koopman
<djk@tobit.co.uk>
Sat, 22 Sep 2007 15:08:00 +0000
(17:08 +0200)
committer
Dirk Koopman
<djk@tobit.co.uk>
Sat, 22 Sep 2007 15:08:00 +0000
(17:08 +0200)
cmd/mrtg.pl
patch
|
blob
|
history
diff --git
a/cmd/mrtg.pl
b/cmd/mrtg.pl
index 9e6112c64fb142c627d8bf3253dfa11b3e756104..93adf33233f69526bc9a8258c46b7b0b7f0f8952 100644
(file)
--- 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);