mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fix LoadTextFile failure when in autoRetry
This commit is contained in:
parent
ec1cf1c441
commit
61961d71e1
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ namespace Beefy
|
||||||
if (autoRetry)
|
if (autoRetry)
|
||||||
{
|
{
|
||||||
if (fileOpenErr == .SharingViolation)
|
if (fileOpenErr == .SharingViolation)
|
||||||
retry = true;
|
retry = i != 99;
|
||||||
}
|
}
|
||||||
if (!retry)
|
if (!retry)
|
||||||
return .Err(.OpenError(fileOpenErr));
|
return .Err(.OpenError(fileOpenErr));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue