]> 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>
Fri, 5 Jun 2015 15:42:07 +0000 (16:42 +0100)
commit3b1d89a51445cf526ca84eb5b53de434f9585d6e
tree3e9e0b28d90c95ad26dea14fc68f12b0cddd6071
parente0c526017e895d768e8a4d09999242286b1f6ee9
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.

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