mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-28 12:20:07 +02:00
global-functions: $MkDir: add debug output
This commit is contained in:
parent
4d0b4a1ff4
commit
e1c561dd91
1 changed files with 3 additions and 0 deletions
|
@ -891,7 +891,10 @@
|
|||
:return true;
|
||||
}
|
||||
|
||||
$LogPrint debug $0 ("Making directory: " . $Path);
|
||||
|
||||
:if ([ :len [ /file/find where name=$Path type="directory" ] ] = 1) do={
|
||||
$LogPrint debug $0 ("... which already exists.");
|
||||
:return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue