global-functions: $WaitForFile: drop the workaround

This commit is contained in:
Christian Hesse 2025-05-30 20:48:05 +02:00
parent ab84670c8e
commit 94a87ff832

View file

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