diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-12 16:39:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-16 22:12:29 +0100 |
commit | 75040a098e11927e6872e3a2a6286fe3ed0c7f47 (patch) | |
tree | d09fc929cfaa0672eda6fc5e211a17287ed46a8c /meta/classes/update-rc.d.bbclass | |
parent | 0af59a04135f067f0e01883defa77c6f714eab2e (diff) | |
download | openembedded-core-75040a098e11927e6872e3a2a6286fe3ed0c7f47.tar.gz openembedded-core-75040a098e11927e6872e3a2a6286fe3ed0c7f47.tar.bz2 openembedded-core-75040a098e11927e6872e3a2a6286fe3ed0c7f47.zip |
sstate: Fix incorrect return value handling
The use of [ and && here means $? is reset and the exit 1 error
interception wasn't working, leading to "file changed as we read it"
errors from sstate_create_package when heavily using hardlinks.
Fix this by placing $? into a variable.
(From OE-Core rev: 6e51f900b76b06c09a3d6927f8db7398e2c035ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
0 files changed, 0 insertions, 0 deletions