diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-22 16:13:57 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:39:11 +0000 |
commit | 0f315faff8d9e76b25e27e5cf935c7ef203e8b65 (patch) | |
tree | 5cda7b6a4705ee79b359baea5909588e5faef286 /documentation/mega-manual/figures/define-generic.png | |
parent | 3f990e1b178dc7230e2e3d60ffd3dcc5d9eae16b (diff) | |
download | poky-0f315faff8d9e76b25e27e5cf935c7ef203e8b65.tar.gz |
oe-selftest: fix behaviour if oe-selftest.log is a dangling symlink
If you delete the log file that the oe-selftest.log symlink points to
but not the symlink itself, because we were using os.path.exists() here
the code assumed that the symlink didn't exist when in fact it still
did. Use os.path.lexists() instead.
(From OE-Core rev: 263af91a0efd21e041ecdb0c40f9b2d4e735f67d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/mega-manual/figures/define-generic.png')
0 files changed, 0 insertions, 0 deletions