mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-10 22:02:12 +00:00
global-functions: $RmDir: remove with find...
... as this is still racy.
This commit is contained in:
parent
3aaba1f408
commit
875df5da76
1 changed files with 1 additions and 1 deletions
|
|
@ -1205,7 +1205,7 @@
|
|||
}
|
||||
|
||||
:onerror Err {
|
||||
/file/remove $DirName;
|
||||
/file/remove [ find where name=$DirName ];
|
||||
} do={
|
||||
$LogPrint error $0 ("Removing directory '" . $DirName . "' failed: " . $Err);
|
||||
:return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue