]> code.ossystems Code Review - openembedded-core.git/commit
scripts/combo-layer: Fix exit codes and tty handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jun 2015 16:44:27 +0000 (17:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 13:59:26 +0000 (14:59 +0100)
commitb08ee8478f0cc2e2f9394c7e209dae45de2d845e
tree019529bf08985739d22d27756af68903c1ba260a
parentb266977372f2d5704d00dd07b29ea49898ebf70e
scripts/combo-layer: Fix exit codes and tty handling

If combo-layer is called from a non-interactive context we should exit
with a correct error code rather than try and drop to a shell.

This patch cleans up a few error case exit codes as well as
detecting and handling non-interactive usage.

(From OE-Core rev: 3b1d89a51445cf526ca84eb5b53de434f9585d6e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/combo-layer