diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-02-19 14:53:37 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-20 14:28:13 +0000 |
commit | bb0c26960d3b05070346cdfdfd05d6fd4ad0a7b1 (patch) | |
tree | 187d506936d4470b85e4e14db90d8e97e5fff1ab /meta/recipes-devtools/valgrind | |
parent | 8e894d111de3cfe86bd6c6178fb619d94b1be115 (diff) | |
download | poky-bb0c26960d3b05070346cdfdfd05d6fd4ad0a7b1.tar.gz |
wic: Make exec_native_command() fail if a command isn't found
Because exec_cmd() return values can in certain cases be non-zero yet
non-fatal, we don't want to automatically make them fatal (though
there should at least be a warning in such cases, which this patch
also does); non-zero return values are definitely fatal however if
they mean that a native command wasn't found, so have
exec_native_cmd() check the return value of exec_cmd() for that case,
and bail out if so.
[YOCTO #5835]
(From OE-Core rev: 43ac6e3216c5d985d6f90a28e727e397df616267)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
0 files changed, 0 insertions, 0 deletions