mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 08:14:56 +02:00
global-functions: $FetchHuge: passing boolean to function is still broken... 🤨
This commit is contained in:
parent
09e8b1d219
commit
48bcf8ee6e
1 changed files with 4 additions and 4 deletions
|
@ -427,9 +427,9 @@
|
|||
|
||||
# fetch huge data to file, read in chunks
|
||||
:set FetchHuge do={
|
||||
:local ScriptName [ :tostr $1 ];
|
||||
:local Url [ :tostr $2 ];
|
||||
:local CheckCert [ :tobool $3 ];
|
||||
:local ScriptName [ :tostr $1 ];
|
||||
:local Url [ :tostr $2 ];
|
||||
:local CheckCert [ :tostr $3 ];
|
||||
|
||||
:global CleanName;
|
||||
:global FetchUserAgentStr;
|
||||
|
@ -439,7 +439,7 @@
|
|||
:global MkDir;
|
||||
:global WaitForFile;
|
||||
|
||||
:set CheckCert [ $IfThenElse ($CheckCert = false) "no" "yes-without-crl" ];
|
||||
:set CheckCert [ $IfThenElse ($CheckCert = "false") "no" "yes-without-crl" ];
|
||||
|
||||
:local DirName ("tmpfs/" . [ $CleanName $ScriptName ]);
|
||||
:if ([ $MkDir $DirName ] = false) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue