summaryrefslogtreecommitdiffstats
path: root/meta/classes/terminal.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/terminal.bbclass')
-rw-r--r--meta/classes/terminal.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index a94f755a40..cd8d124507 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -88,8 +88,12 @@ def oe_terminal(command, title, d):
88 88
89 try: 89 try:
90 oe.terminal.spawn_preferred(command, title, None, d) 90 oe.terminal.spawn_preferred(command, title, None, d)
91 except oe.terminal.NoSupportedTerminals: 91 except oe.terminal.NoSupportedTerminals as nosup:
92 bb.fatal('No valid terminal found, unable to open devshell') 92 nosup.terms.remove("false")
93 cmds = '\n\t'.join(nosup.terms).replace("{command}",
94 "do_terminal").replace("{title}", title)
95 bb.fatal('No valid terminal found, unable to open devshell.\n' +
96 'Tried the following commands:\n\t%s' % cmds)
93 except oe.terminal.ExecutionError as exc: 97 except oe.terminal.ExecutionError as exc:
94 bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc)) 98 bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))
95 99