global-functions: $MkDir: add debug output

This commit is contained in:
Christian Hesse 2025-02-11 14:56:43 +01:00
parent 4d0b4a1ff4
commit e1c561dd91

View file

@ -891,7 +891,10 @@
:return true; :return true;
} }
$LogPrint debug $0 ("Making directory: " . $Path);
:if ([ :len [ /file/find where name=$Path type="directory" ] ] = 1) do={ :if ([ :len [ /file/find where name=$Path type="directory" ] ] = 1) do={
$LogPrint debug $0 ("... which already exists.");
:return true; :return true;
} }