[OE-core] [PATCH] terminal: Disable shopt errexit

Burton, Ross ross.burton at intel.com
Mon Mar 30 15:07:53 UTC 2015


On 18 December 2014 at 01:02, Richard Tollerton <rich.tollerton at ni.com>
wrote:

> `sh -e` causes any errors encountered during shell execution to abort
> the shell. For terminal sessions like devshell, this causes errors
> encountered while executing do_terminal to instantaneously kill the
> session. This is explicitly not what we want for interactive/debugging
> situations like with terminal, so just remove the '-e' from the sh
> invocation.
>

This doesn't happen for me - starting a devshell and running "false"
doesn't cause the terminal to exit.  I wonder what the difference between
your environment and mine is.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150330/484015e6/attachment-0002.html>


More information about the Openembedded-core mailing list