From 2f80d1e578a7f3f2016c9d6346248d4bf5c7e8c7 Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Wed, 27 Apr 2022 18:57:17 +0200 Subject: [PATCH] Removed some unnecessary log output when locating emulators when running as a Flatpak. --- es-core/src/utils/FileSystemUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/utils/FileSystemUtil.cpp b/es-core/src/utils/FileSystemUtil.cpp index 66bbaf729..3b3b6cf9c 100644 --- a/es-core/src/utils/FileSystemUtil.cpp +++ b/es-core/src/utils/FileSystemUtil.cpp @@ -276,7 +276,7 @@ namespace Utils for (auto it = pathList.cbegin(); it != pathList.cend(); ++it) { Utils::Platform::runSystemCommand("flatpak-spawn --host which " + *it + "/" + - executable + " > " + tempFile); + executable + " > " + tempFile + " 2>/dev/null"); std::ifstream tempFileStream; tempFileStream.open(tempFile); getline(tempFileStream, emulatorPath);