Skip to content
Commit dff24c8c authored by Tim Pambor's avatar Tim Pambor Committed by Benjamin Cabé
Browse files

twister: Fix race condition in try_making_symlink



Replaces the check-then-create pattern for symlinks with
opportunistic creation. Instead of checking for existence
before creating the symlink, the code now attempts to
create it directly and gracefully handles the case
where it already exists.

Signed-off-by: default avatarTim Pambor <tim.pambor@codewrights.de>
parent 4c1c9543
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment