summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util.rb')
-rw-r--r--lib/puppet/util.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index 777afab5f..995745f6b 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -344,6 +344,7 @@ module Util
Process.euid = arguments[:uid]
Process.uid = arguments[:uid] unless @@os == "Darwin"
end
+ ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = ENV['LANGUAGE'] = 'C'
if command.is_a?(Array)
Kernel.exec(*command)
else