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")
|
||||
|
||||
if out:
|
||||
out.replace("\n", " ").strip()
|
||||
out = out.replace("\n", " ").strip()
|
||||
elif stderr:
|
||||
out = stderr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user