summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
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