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 396bfe511f
commit b418c69a88

View file

@ -1759,15 +1759,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;
}