From a8a5e80d6c698f6f0e07ec58067466230b4bf447 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 10 Apr 2017 17:47:18 +0300 Subject: Adapt to process_error change --- build2/dist/operation.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/dist') 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 (); -- cgit v1.1