Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel
On Sat, 2016-12-17 at 14:09 -0800, Martin Michlmayr wrote:
> It seems the exit called from find_dtb_file() doesn't exit the whole
> program. I know this is normal because it's called in a subshell,
> flash-kernel itself does a "set -e" so I thought any exit should
> trigger the whole script to stop.
> Ian, any idea?
IIRC "set -e" doesn't propagate to subshells with Bash, my
understanding of this is from http://xenbits.xen.org/gitweb/?p=osstest.
But flash-kernel uses /bin/sh which these days ought to be dash not
bash and the original bug report does say:
Shell: /bin/sh linked to /bin/dash
Maybe there is some similar oddity with function calls in dash?