Skip to content
Commit a55b5444 authored by Tim Pambor's avatar Tim Pambor Committed by Dan Kalowsky
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>
(cherry picked from commit dff24c8c)
parent c1adc507
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment