activation test: Fix time-of-check/time-of-use bug waiting to happen
Creating a directory is atomic, stat'ing it to see whether to remove it is very much not. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99828Signed-off-by:Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by:
Philip Withnall <withnall@endlessm.com>
Showing
Please register or sign in to comment