mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 17:24:30 +02:00
global-functions: $WaitForFile: drop the first workaround
This reverts commit8231c3e833
. Truned out this workaround was not sufficient, see the follow-up in commit191cc1b952
for details. But possibly the second one does it on its own? Reverting this for a test run.
This commit is contained in:
parent
191cc1b952
commit
b98b245714
1 changed files with 0 additions and 10 deletions
|
@ -1591,16 +1591,6 @@
|
|||
:delay $Delay;
|
||||
:set I ($I + 1);
|
||||
}
|
||||
|
||||
:local File [ /file/find where name=$FileName ];
|
||||
:local SizeA 0;
|
||||
:local SizeB 1;
|
||||
:while ($SizeA < $SizeB) do={
|
||||
:set SizeA $SizeB;
|
||||
:delay $Delay;
|
||||
:set SizeB [ /file/get $File size ];
|
||||
}
|
||||
|
||||
:return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue