From bdca552e807c5599317c08b7c54e993e43bfcaec Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sat, 22 Sep 2007 17:08:00 +0200 Subject: [PATCH] fix mrtg script --- cmd/mrtg.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); -- 2.43.0