Skip to content

Commit

Permalink
mlog: Catch OSError when closing pager
Browse files Browse the repository at this point in the history
  • Loading branch information
xclaesse committed Nov 23, 2023
1 parent 7f5f432 commit f212f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/mlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def stop_pager(self) -> None:
try:
self.log_pager.stdin.flush()
self.log_pager.stdin.close()
except BrokenPipeError:
except (BrokenPipeError, OSError):
pass
self.log_pager.wait()
self.log_pager = None
Expand Down

0 comments on commit f212f63

Please sign in to comment.