diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2014-04-23 11:19:26 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-24 09:03:31 +0200 |
commit | fb67ada79add357cf14c919504e27d54d91ca444 (patch) | |
tree | 4086a576fe41e51e3f8ea02f0836aa0df77022c3 /Kconfig | |
parent | 3018f1367075dd5310fc5f5ceaf6706ae67b3013 (diff) | |
download | barebox-fb67ada79add357cf14c919504e27d54d91ca444.tar.gz barebox-fb67ada79add357cf14c919504e27d54d91ca444.tar.xz |
default environment: force a specific return value
Since commit a162dfe50345d3461010759f8a0e79f7e388c140 the ifup command runs
this file as a script. Due to a hush misbehave it could happen it returns
an error code by accident.
For example if the last instructions in this file are:
if [ false ]; then
echo "friesel"
fi
the hush returns 1 after running this script instead of 0 and in this case
the ifup command fails.
I know, the correct fix would be to fix the hush, because it is a generic
issue...but how?
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions