Config: Ensure OutputLog to server doesn't try to expand path

"server" isn't a path, this was missed when it was added.
This commit is contained in:
Ryan Houdek 2023-08-14 12:20:58 -07:00
parent 2f0c690d54
commit 112c463655

View File

@ -407,7 +407,7 @@ namespace DefaultValues {
}
if (FEXCore::Config::Exists(FEXCore::Config::CONFIG_OUTPUTLOG)) {
FEX_CONFIG_OPT(PathName, OUTPUTLOG);
if (PathName() != "stdout" && PathName() != "stderr") {
if (PathName() != "stdout" && PathName() != "stderr" && PathName() != "server") {
ExpandPathIfExists(FEXCore::Config::CONFIG_OUTPUTLOG, PathName());
}
}