summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/context.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-28 11:16:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-29 08:34:35 +0100
commit269479f6f4fc35545c6ae8322bcda90e3cf151ca (patch)
treef6e9d01c09f13702e805ec79e926c92060c866a4 /scripts/lib/checklayer/context.py
parent10ab0949a13354bd502947fe2df97cf0eedcdfca (diff)
downloadpoky-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 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions