Skip to content

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: intel#1409
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny authored and john-s-andersen committed Jan 5, 2023
1 parent 717d0b5 commit 011c12a
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 011c12a

Please sign in to comment.