summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2012-05-19 11:59:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-20 09:24:24 +0100
commit05330d066548cb684a96575dfe02fa32a29da749 (patch)
treec6e68bc023b2efef3f4f2848910f885f8d0b9109 /bitbake/lib
parentb0b9ee29a216d63387684dd6c3934b059849ab5b (diff)
downloadpoky-05330d066548cb684a96575dfe02fa32a29da749.tar.gz
knotty2: return exit code
'bitbake -u knotty2' never failed which was caused by main() not propagating the exit code. (Bitbake rev: 243e4ba405b88fd466bec7b4aa042d20aa6121ff) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/knotty2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty2.py b/bitbake/lib/bb/ui/knotty2.py
index aa6a4080e2..65e941b4c3 100644
--- a/bitbake/lib/bb/ui/knotty2.py
+++ b/bitbake/lib/bb/ui/knotty2.py
@@ -106,4 +106,4 @@ class TerminalFilter2(object):
106 self.termios.tcsetattr(fd, self.termios.TCSADRAIN, self.stdinbackup) 106 self.termios.tcsetattr(fd, self.termios.TCSADRAIN, self.stdinbackup)
107 107
108def main(server, eventHandler): 108def main(server, eventHandler):
109 bb.ui.knotty.main(server, eventHandler, TerminalFilter2) 109 return bb.ui.knotty.main(server, eventHandler, TerminalFilter2)