mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $WaitForFile: drop extra conversion
This commit is contained in:
parent
517ed7bf8c
commit
eae8dbbb37
1 changed files with 1 additions and 1 deletions
|
@ -1521,7 +1521,7 @@
|
||||||
|
|
||||||
:set FileName [ $CleanFilePath $FileName ];
|
:set FileName [ $CleanFilePath $FileName ];
|
||||||
:local I 1;
|
:local I 1;
|
||||||
:local Delay ([ :totime [ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] ] / 10);
|
:local Delay ([ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] / 10);
|
||||||
|
|
||||||
:while ([ :len [ /file/find where name=$FileName ] ] = 0) do={
|
:while ([ :len [ /file/find where name=$FileName ] ] = 0) do={
|
||||||
:if ($I >= 10) do={
|
:if ($I >= 10) do={
|
||||||
|
|
Loading…
Reference in a new issue