Skip to content
Snippets Groups Projects
Commit 70376a17 authored by Chris Hines's avatar Chris Hines
Browse files

observed that m3 is giving stderr containing the string locale and then proceeding to work okanyway

parent 8a6ac3d4
2 merge requests!90I think there is a problem with multiple threads creating multiple sessions...,!84observed that m3 is giving stderr containing the string locale and then proceeding to work okanyway
Pipeline #56305 passed
......@@ -377,7 +377,7 @@ class Ssh:
raise SshExecException(message=msg)
logger.debug("leaving execute")
# Because people often put stuff in their bashrc which casuses stderr to be non-empty, we will swallow errors in the bashrc without comment
if b'bashrc' in stderr:
if b'bashrc' in stderr or b'locale' in stderr:
return {'stdout':stdout,'stderr':b''}
else:
return {'stdout':stdout, 'stderr':stderr}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment