Scripts/InstallFEX: Fixes #4972

Makes sure that stderr output doesn't cause weird interactions with
FEXRootFSFetcher.
This commit is contained in:
Ryan Houdek committed 2025-11-24 14:40:56 -08:00
1 parent a251e61859
commit 922853cee1
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ def UpdatePPA():
def CheckAndInstallPackageUpdates():
PackagesToInstall = GetPackagesToInstall()
for Package in PackagesToInstall[:]:
UpgradableStatus = subprocess.check_output(["apt", "list", "--upgradable", Package]).decode("utf-8")
UpgradableStatus = subprocess.check_output(["apt", "list", "--upgradable", Package], stderr=None).decode("utf-8")
Found = False
for Line in UpgradableStatus.split("\n"):
# If the package exists to be upgraded then it will appear in this list