diff options
Diffstat (limited to 'src/libutil/processes.cc')
-rw-r--r-- | src/libutil/processes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/processes.cc b/src/libutil/processes.cc index 4fe3dcfb4..05b1321e9 100644 --- a/src/libutil/processes.cc +++ b/src/libutil/processes.cc @@ -251,7 +251,7 @@ std::pair<int, std::string> runProgram(RunOptions && options) try { auto proc = runProgram2(options); Finally const _wait([&] { proc.wait(); }); - stdout = proc.stdout()->drain(); + stdout = proc.getStdout()->drain(); } catch (ExecError & e) { status = e.status; } |