summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-29 09:00:49 +0100
committerSteve Sakoman <steve@sakoman.com>2023-08-18 03:57:05 -1000
commit7e020d4aea4d0378a6bb1dabf0cd3a46066b2a4b (patch)
tree259a83f9f3820f6244fb12ea2f6e01808c594b6f /scripts/lib/devtool/upgrade.py
parent51904d6c60617d42c9981a7857c6363ac7022e73 (diff)
downloadpoky-7e020d4aea4d0378a6bb1dabf0cd3a46066b2a4b.tar.gz
oeqa/ssh: Further improve process exit handling
It looks like there were further cases where orphaned processes may be left behind since the .kill() calls may be unsuccessful if the process terminated due to the terminate or through normal exit. In that situation .wait() wouldn't have been called. Further tweak the exit code paths to ensure .wait() is called to update the returncode value before returning in all cases. (From OE-Core rev: f647d1400bfa5b8eab81b2b2e2c86df306970a71) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0a0a1731e38edfa72a141e8fd8f2de52be562e94) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions