Skip to content

Commit

Permalink
Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
foodprocessor committed Aug 23, 2024
1 parent 2325e4f commit 4e3870b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/settings/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ nx::sdk::Error Engine::validateMount()
}
std::this_thread::sleep_for(std::chrono::seconds(1));
}
if (fs::exists(mountDir, errCode) && !(bool)errCode)
if (fs::exists(mountDir, errCode) || (bool)errCode)
{
return error(ErrorCode::internalError,
"Unmount failed - " + std::to_string(maxWaitSecondsAfterMount) + "s timeout reached.");
Expand Down

0 comments on commit 4e3870b

Please sign in to comment.