1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-06 08:15:59 +02:00

Merge pull request #1621 from disarray2077/patch-14

Fix LoadTextFile failure when in autoRetry
This commit is contained in:
Brian Fiete 2022-07-01 12:54:12 -07:00 committed by GitHub
commit faca458283
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ namespace Beefy
if (autoRetry)
{
if (fileOpenErr == .SharingViolation)
retry = true;
retry = i != 99;
}
if (!retry)
return .Err(.OpenError(fileOpenErr));