summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/toasterui.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index b5422cf2b6..569957a2ff 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -450,9 +450,12 @@ def main(server, eventHandler, params):
450 return_value += 1 450 return_value += 1
451 451
452 except EnvironmentError as ioerror: 452 except EnvironmentError as ioerror:
453 # ignore interrupted io 453 logger.warning("EnvironmentError: %s" % ioerror)
454 if ioerror.args[0] == 4: 454 # ignore interrupted io system calls
455 pass 455 if ioerror.args[0] == 4: # errno 4 is EINTR
456 logger.warning("Skipped EINTR: %s" % ioerror)
457 else:
458 raise
456 except KeyboardInterrupt: 459 except KeyboardInterrupt:
457 if params.observe_only: 460 if params.observe_only:
458 print("\nKeyboard Interrupt, exiting observer...") 461 print("\nKeyboard Interrupt, exiting observer...")