diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-05-01 21:38:46 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-05-02 10:37:33 +0200 |
commit | ebde5ae5ac1fa96211b974f444ceed4bc39c3d49 (patch) | |
tree | 5b5e5e5c87e7085b33447d27394fc32f96497e86 /Makefile | |
parent | deadc3dd7e18a4d177aabcad6df9045f69e53f2b (diff) | |
download | barebox-ebde5ae5ac1fa96211b974f444ceed4bc39c3d49.tar.gz barebox-ebde5ae5ac1fa96211b974f444ceed4bc39c3d49.tar.xz |
hush: bail out of scripts on syntax error
On a systax error we have to bail out of the shell instead of
setting inp->p to NULL and crash barebox with a NULL pointer
deref. This only happened in scripts.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This fixes the problem I had (i.e. a boot loop caused by a stray fi in
/env/bin/init).
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions