aboutsummaryrefslogtreecommitdiff
path: root/src/nix/log.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-02 15:57:31 +0100
committerGitHub <noreply@github.com>2023-03-02 15:57:31 +0100
commitb9370fd7a040558cc8c7d5db109fdd3e407ff409 (patch)
tree4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/log.cc
parent85dbf9de8e30d07139d983ee4066332c477ee0f9 (diff)
parentb69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (diff)
Merge pull request #7941 from edolstra/stdout
Check writes to stdout
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r--src/nix/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index a0598ca13..0c9f778f0 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -53,7 +53,7 @@ struct CmdLog : InstallableCommand
if (!log) continue;
stopProgressBar();
printInfo("got build log for '%s' from '%s'", installable->what(), logSub.getUri());
- std::cout << *log;
+ writeFull(STDOUT_FILENO, *log);
return;
}