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;