summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-05-11 11:45:42 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-05-11 11:45:42 +0000
commit500967160d58626953ec52c4f927445aed6150b2 (patch)
tree361469947bc3c0dba9cddde3106a69aafdeb4c47 /classes/devshell.bbclass
parent2e2348dbf283fe186a7e45a4823b56fed70d47f0 (diff)
devshell.bbclass, patch.bbclass: Error on any non-zero rc from TERMCMD*.
* Suggested by Richard Purdie. * Closes #2274.
Diffstat (limited to 'classes/devshell.bbclass')
-rw-r--r--classes/devshell.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/devshell.bbclass b/classes/devshell.bbclass
index 09ce100fc4..35456b517b 100644
--- a/classes/devshell.bbclass
+++ b/classes/devshell.bbclass
@@ -6,7 +6,7 @@ do_devshell[nostamp] = "1"
devshell_do_devshell() {
export TERMWINDOWTITLE="Bitbake Developer Shell"
${TERMCMD}
- if [ $? -eq 127 ]; then
+ if [ $? -ne 0 ]; then
echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
exit 1
fi