mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $MkDir: do not act without directory
This commit is contained in:
@ -510,6 +510,10 @@
|
||||
|
||||
:set Dir [ $CleanFilePath $Dir ];
|
||||
|
||||
:if ($Dir = "") do={
|
||||
:return true;
|
||||
}
|
||||
|
||||
:if ([ :len [ / file find where name=$Dir type="directory" ] ] = 1) do={
|
||||
:return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user