diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:57:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 15:57:31 +0100 |
commit | b9370fd7a040558cc8c7d5db109fdd3e407ff409 (patch) | |
tree | 4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/log.cc | |
parent | 85dbf9de8e30d07139d983ee4066332c477ee0f9 (diff) | |
parent | b69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (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.cc | 2 |
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; } |