Fixes newline issue in shell module
This commit is contained in:
parent
23ecdeed88
commit
7b696d948d
@ -28,7 +28,7 @@ class Shell(IntervalModule):
|
||||
self.logger.error(stderr if stderr else "Unknown error")
|
||||
|
||||
if out:
|
||||
out.replace("\n", " ").strip()
|
||||
out = out.replace("\n", " ").strip()
|
||||
elif stderr:
|
||||
out = stderr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user