diff options
-rw-r--r-- | global-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions b/global-functions index f4c47d7..3814176 100644 --- a/global-functions +++ b/global-functions @@ -506,7 +506,7 @@ :local Dir [ :tostr $1 ]; :global CleanFilePath; - :global GetRandom20CharHex; + :global GetRandom20CharAlNum; :global LogPrintExit2; :global WaitForFile; @@ -521,7 +521,7 @@ } :local Return true; - :local Name ($Dir . "-" . [ $GetRandom20CharHex ]); + :local Name ($Dir . "-" . [ $GetRandom20CharAlNum 6 ]); :do { /ip/smb/share/add disabled=yes directory=$Dir name=$Name; $WaitForFile $Dir; |