All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] knotty2: return exit code
@ 2012-05-19  9:59 Enrico Scholz
  2012-05-20  7:10 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Scholz @ 2012-05-19  9:59 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Enrico Scholz, Enrico Scholz

From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>

'bitbake -u knotty2' never failed which was caused by main() not
propagating the exit code.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 lib/bb/ui/knotty2.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/bb/ui/knotty2.py b/lib/bb/ui/knotty2.py
index aa6a408..65e941b 100644
--- a/lib/bb/ui/knotty2.py
+++ b/lib/bb/ui/knotty2.py
@@ -106,4 +106,4 @@ class TerminalFilter2(object):
             self.termios.tcsetattr(fd, self.termios.TCSADRAIN, self.stdinbackup)
 
 def main(server, eventHandler):
-    bb.ui.knotty.main(server, eventHandler, TerminalFilter2)
+    return bb.ui.knotty.main(server, eventHandler, TerminalFilter2)
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] knotty2: return exit code
  2012-05-19  9:59 [PATCH] knotty2: return exit code Enrico Scholz
@ 2012-05-20  7:10 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-05-20  7:10 UTC (permalink / raw)
  To: Enrico Scholz; +Cc: Enrico Scholz, bitbake-devel

On Sat, 2012-05-19 at 11:59 +0200, Enrico Scholz wrote:
> From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
> 
> 'bitbake -u knotty2' never failed which was caused by main() not
> propagating the exit code.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
> ---
>  lib/bb/ui/knotty2.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-20  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19  9:59 [PATCH] knotty2: return exit code Enrico Scholz
2012-05-20  7:10 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.