1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fix LoadTextFile failure when in autoRetry

This commit is contained in:
disarray2077 2022-07-01 15:31:45 -03:00 committed by GitHub
parent ec1cf1c441
commit 61961d71e1
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));