1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 10:52:13 +00:00

fs: correct retry loop again

This commit is contained in:
Michael Scire 2020-07-20 13:33:09 -07:00
parent 9482fafabd
commit 46bd03c06d

View file

@ -71,6 +71,7 @@ namespace ams::fs {
R_CATCH(fs::ResultSystemPartitionNotReady) { R_CATCH(fs::ResultSystemPartitionNotReady) {
if (i < MaxRetries - 1) { if (i < MaxRetries - 1) {
os::SleepThread(RetryInterval); os::SleepThread(RetryInterval);
continue;
} else { } else {
return fs::ResultSystemPartitionNotReady(); return fs::ResultSystemPartitionNotReady();
} }