Skip to content
Snippets Groups Projects
Commit 05da0d3d authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Piping output and error from lvalert_send command.

parent 2d1f0982
No related branches found
No related tags found
No related merge requests found
......@@ -206,8 +206,8 @@ def issueXMPPAlert(event, location, alert_type="new", description="", serialized
#executable="/usr/bin/lvalert_send",
executable=settings.LVALERT_SEND_EXECUTABLE,
stdin=PIPE,
stdout=null,
stderr=STDOUT,
stdout=PIPE,
stderr=PIPE,
env=env)
out, err = p.communicate(msg)
......
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