Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
util: subprocess: run command events: Do not return after yield of st…
Browse files Browse the repository at this point in the history
…dout/err

Closes: #1409
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Jul 28, 2022
1 parent db80600 commit b6eea6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dffml/util/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ async def run_command_events(
yield Subprocess.STDOUT, b"".join(
output[Subprocess.STDOUT_READLINE]
)
return
# If caller wants event
if events and event in events:
yield event, result
Expand Down

0 comments on commit b6eea6e

Please sign in to comment.