aboutsummaryrefslogtreecommitdiff
path: root/build2/dist
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:47:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:47:18 +0300
commita8a5e80d6c698f6f0e07ec58067466230b4bf447 (patch)
tree413b241d2b5b7cf02f094197e2f59db3ad89f1a5 /build2/dist
parentb1910caafabbe760e4dcda307260c60d7b0c0078 (diff)
Adapt to process_error change
Diffstat (limited to 'build2/dist')
-rw-r--r--build2/dist/operation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx
index accf2d5..033748e 100644
--- a/build2/dist/operation.cxx
+++ b/build2/dist/operation.cxx
@@ -358,7 +358,7 @@ namespace build2
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
@@ -412,7 +412,7 @@ namespace build2
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
@@ -464,7 +464,7 @@ namespace build2
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();