mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-10 13:52:13 +00:00
global-functions: $RmFile: remove with find...
... as this is still racy.
This commit is contained in:
parent
875df5da76
commit
74d3fc2933
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue