global-functions: $WaitForFile: drop the workaround

This was fixed in RouterOS 7.18rc1, so should be ok to remove now.
This commit is contained in:
Christian Hesse 2025-05-30 20:48:05 +02:00
parent fb8e616846
commit e08bb2192d

View file

@ -1757,15 +1757,6 @@
:set I ($I + 1);
}
:while ([ :len [ /file/find where name=$FileName ] ] > 0) do={
:do {
/file/get $FileName;
:return true;
} on-error={ }
:delay $Delay;
:set Delay ($Delay * 3 / 2);
}
:return false;
}