FEXRootFSFetcher: clear Unknown when distro is set on the CLI

This commit is contained in:
tpietrus committed 2026-04-09 07:53:53 +02:00
1 parent ce65f5376f
commit 1fa5104076
1 file changed
+4
+4
View File
@@ -1031,6 +1031,10 @@ int32_t AskForDistroSelection(const std::span<const WebFileFetcher::FileTargets>
if (!ArgOptions::DistroVersion.empty()) {
Info.DistroVersion = ArgOptions::DistroVersion;
}
// explicit CLI selection must still run exact-match logic.
if (!ArgOptions::DistroName.empty() || !ArgOptions::DistroVersion.empty()) {
Info.Unknown = false;
}
return _AskForDistroSelection(Info, Targets);
}