From 74d3fc2933fe1c0cc55ff7213ec3ed02021de612 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 7 May 2026 15:57:03 +0200 Subject: [PATCH] global-functions: $RmFile: remove with find... ... as this is still racy. --- global-functions.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions.rsc b/global-functions.rsc index cde2694a..5134ca4e 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -1234,7 +1234,7 @@ } :onerror Err { - /file/remove $FileName; + /file/remove [ find where name=$FileName ]; } do={ $LogPrint error $0 ("Removing file '" . $FileName . "' failed: " . $Err); :return false;