diff options
author | Christian Hesse <mail@eworm.de> | 2022-11-22 19:01:19 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-11-22 19:05:29 +0100 |
commit | c2a29da9f2fe48ad1cf028efaa02b4bfdae8504b (patch) | |
tree | f9705edb043d6597b1f1d106564c78d7f972ac41 | |
parent | 3c4595e82b0200e3c213e78c673a65ed26f7e18b (diff) |
global-functions: $ScriptLock: use shorter random string
... but with all characters from alphabet with $GetRandom20CharAlNum.
-rw-r--r-- | global-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions b/global-functions index 3814176..3d04bcb 100644 --- a/global-functions +++ b/global-functions @@ -876,7 +876,7 @@ :local DoReturn $2; :local WaitMax ([ :tonum $3 ] * 10); - :global GetRandom20CharHex; + :global GetRandom20CharAlNum; :global IfThenElse; :global LogPrintExit2; @@ -977,7 +977,7 @@ /system/script/job/remove [ find where script=$Script ]; } - :local MyTicket [ $GetRandom20CharHex ]; + :local MyTicket [ $GetRandom20CharAlNum 6 ]; $AddTicket $Script $MyTicket; :local WaitCount 0; |