diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2024-02-29 22:56:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-03 16:26:17 +0000 |
commit | ef88dee4f77ca95ec79e62d08fc0a01e83528e11 (patch) | |
tree | 6e4ae1e94ad47baa54ce841f828645b408feab6c /scripts/lib/scriptpath.py | |
parent | 2689d8cf22d3809923aad5bd87e5e3e1821ffc82 (diff) | |
download | poky-ef88dee4f77ca95ec79e62d08fc0a01e83528e11.tar.gz |
bitbake: prserv/serv: Fix a PID file removal race on prserv stop
A race condition has happened where the exiting server removed the PID
file between the existence check and the removal, resulting in a
FileNotFoundError exception.
The fix is to ignore the FileNotFoundError exception, the existence
check is now redundant so remove it to simplify.
Fixes [YOCTO #14341]
(Bitbake rev: 40d00bf9308e0bf73a00134a99a012a292daa1c5)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions