Get rid of some unchecked calls to std::cout

This commit is contained in:
Eelco Dolstra
2023-03-02 15:02:24 +01:00
parent 09f5975c6a
commit b69a73a230
15 changed files with 36 additions and 39 deletions
+2 -2
View File
@@ -234,9 +234,9 @@ static int main_nix_prefetch_url(int argc, char * * argv)
if (!printPath)
printInfo("path is '%s'", store->printStorePath(storePath));
std::cout << printHash16or32(hash) << std::endl;
logger->cout(printHash16or32(hash));
if (printPath)
std::cout << store->printStorePath(storePath) << std::endl;
logger->cout(store->printStorePath(storePath));
return 0;
}