From 50a8400b725efd32549ccd36a2365da0edf37ef0 Mon Sep 17 00:00:00 2001 From: Dan McGregor Date: Fri, 29 Aug 2014 13:46:18 -0600 Subject: bitbake: knotty: ignore interrupted system calls With the improved exception handling added in an earlier commit bitbake now stops when recieving a SIGWINCH. This happens frequently when disconnecting and reconnecting tmux sessions and bitbake didn't survive. Restore old behaviour of ignoring interrupted system calls but keep proper exception handling for other errors. (Bitbake rev: 418358a595c75f45b8d15160ec42bbe569562d91) Signed-off-by: Dan McGregor Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index bb6d4cbbec..307886d780 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -507,7 +507,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): termfilter.clearFooter() # ignore interrupted io if ioerror.args[0] == 4: - pass + continue sys.stderr.write(str(ioerror)) if not params.observe_only: _, error = server.runCommand(["stateForceShutdown"]) -- cgit v1.2.3-54-g00ecf