diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2012-05-19 11:59:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-20 09:24:24 +0100 |
commit | 05330d066548cb684a96575dfe02fa32a29da749 (patch) | |
tree | c6e68bc023b2efef3f4f2848910f885f8d0b9109 /bitbake/lib | |
parent | b0b9ee29a216d63387684dd6c3934b059849ab5b (diff) | |
download | poky-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.py | 2 |
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 | ||
108 | def main(server, eventHandler): | 108 | def main(server, eventHandler): |
109 | bb.ui.knotty.main(server, eventHandler, TerminalFilter2) | 109 | return bb.ui.knotty.main(server, eventHandler, TerminalFilter2) |