diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-10 19:46:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:05:13 +0000 |
commit | fae29ac08307c017b8e2875f65346e5cae431d40 (patch) | |
tree | 3235b4a7923f148e3e1ecd8e555c27366d2744b0 /meta | |
parent | c1bb8c9b141c42473fc4895276677340bd898bef (diff) | |
download | poky-fae29ac08307c017b8e2875f65346e5cae431d40.tar.gz |
wic: _exec_cmd: produce error if exit code is not 0
Current code doesn't always show error output of the
external command and even ignores non-zero exit code.
Moved checking of exit code value to the lowest level
possible: to _exec_cmd. This should make wic to always
check exit code of the external command and issue
an error if it's not 0.
[YOCTO #10816]
(From OE-Core rev: 7f68001579c08509332d633b27b5c2ea9386b6c9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions