1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Fixup get-commit-db utility

This commit is contained in:
Nekotekina 2021-08-29 22:15:03 +03:00
parent 63104af8e9
commit 8db02dcf40

View File

@ -544,8 +544,10 @@ int main(int argc, char** argv)
{
#ifdef _WIN32
if (AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
{
[[maybe_unused]] const auto con_out = freopen("CONOUT$", "w", stdout);
[[maybe_unused]] const auto con_err = freopen("CONOUT$", "w", stderr);
}
std::string path;
#else
@ -751,7 +753,7 @@ int main(int argc, char** argv)
curl_slist_free_all(hhdr);
fprintf(stdout, "Finished fetching commits\n", path.c_str());
fprintf(stdout, "Finished fetching commits: %s\n", path.c_str());
return 0;
}