diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-23 19:37:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-11 17:11:14 +0200 |
commit | bb07dfe96f0d07aa18db385d3ec93b24b5568213 (patch) | |
tree | 46d76c0b6c4bfd2be642d09e8459fa2fa604a3d9 /nix/libutil | |
parent | 766481d606e4b1860307692d6a44723983662d45 (diff) | |
download | guix-bb07dfe96f0d07aa18db385d3ec93b24b5568213.tar.gz |
nix-daemon: Simplify stderr handling
Diffstat (limited to 'nix/libutil')
-rw-r--r-- | nix/libutil/util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/libutil/util.cc b/nix/libutil/util.cc index 32244b2185..aa9d99ec33 100644 --- a/nix/libutil/util.cc +++ b/nix/libutil/util.cc @@ -850,6 +850,7 @@ pid_t startProcess(std::function<void()> fun, const string & errorPrefix) if (pid == -1) throw SysError("unable to fork"); if (pid == 0) { + _writeToStderr = defaultWriteToStderr; try { restoreAffinity(); fun(); |