aboutsummaryrefslogtreecommitdiff
path: root/build/process.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
commitbbd05eb0c32a9614f012a1d9b75cef736a1d4150 (patch)
tree590d19b96061666eeadf6ae36b907e05f6b79609 /build/process.cxx
parent4372f041bb7401c3adc2d5710566b13f64722102 (diff)
Clean up clang warnings
Diffstat (limited to 'build/process.cxx')
-rw-r--r--build/process.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/process.cxx b/build/process.cxx
index 09b8d36..f561000 100644
--- a/build/process.cxx
+++ b/build/process.cxx
@@ -79,7 +79,7 @@ namespace build
{
// Parent. Close the other ends of the pipes.
//
- if ((in && close (out_fd[0])) == -1 ||
+ if ((in && close (out_fd[0]) == -1) ||
(err && close (in_efd[1]) == -1) ||
(out && close (in_ofd[1]) == -1))
throw process_error (errno, false);