mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-06 16:25:59 +02:00
Merge pull request #1621 from disarray2077/patch-14
Fix LoadTextFile failure when in autoRetry
This commit is contained in:
commit
faca458283
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