diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-28 11:16:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-29 08:34:35 +0100 |
commit | 269479f6f4fc35545c6ae8322bcda90e3cf151ca (patch) | |
tree | f6e9d01c09f13702e805ec79e926c92060c866a4 /meta/recipes-core/base-passwd | |
parent | 10ab0949a13354bd502947fe2df97cf0eedcdfca (diff) | |
download | poky-269479f6f4fc35545c6ae8322bcda90e3cf151ca.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: 3924e94214b5135369be2551d54fb92097d35e95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd')
0 files changed, 0 insertions, 0 deletions