Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exec: use C instead of en_US.UTF-8 to set the Exec locale. (#9391)
The en_US locale can't be used on systems where it is not installed. This is common in container images. On such systems, setting the locale to en_US.UTF-8 causes unexpected warnings to be written to standard error. When Exec.LogStandardErrorAsError is set, these warnings cause the Task to fail due to logging errors. This changes to use the 'Computer English' C.UTF-8 locale, which is always available. Fixes #4194 @rainersigwald @wfurt @janvorli ptal cc @mthalman @omajid
- Loading branch information