diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-28 11:16:08 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-08-15 06:18:49 -1000 |
commit | 998d1cf1d9505344b630f9d80918a0e77d5585e1 (patch) | |
tree | 3a3ab6f0efedd652a1cd45fb954b5432e4d95b43 /meta/recipes-devtools/python-numpy/python-numpy.inc | |
parent | b34941d07221b82c9067a104169d799f8ff9b95b (diff) | |
download | poky-998d1cf1d9505344b630f9d80918a0e77d5585e1.tar.gz |
target/ssh: Ensure exit code set for commands
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait()
is called so we need to call this after the .kill() call.
This fixes return code reporting so that timeouts for example now return an
exit code when they didn't before.
(From OE-Core rev: 6bd6b7110ea2029fc736a40760536adfaf28eec0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3924e94214b5135369be2551d54fb92097d35e95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/python-numpy.inc')
0 files changed, 0 insertions, 0 deletions