Merge pull request #199 from krypt-n/master
Fixes shell module not stripping newlines
This commit is contained in:
commit
50a77d494c
@ -28,7 +28,7 @@ class Shell(IntervalModule):
|
|||||||
self.logger.error(stderr if stderr else "Unknown error")
|
self.logger.error(stderr if stderr else "Unknown error")
|
||||||
|
|
||||||
if out:
|
if out:
|
||||||
out.replace("\n", " ").strip()
|
out = out.replace("\n", " ").strip()
|
||||||
elif stderr:
|
elif stderr:
|
||||||
out = stderr
|
out = stderr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user