aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/runner.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/runner.cxx')
-rw-r--r--build2/test/script/runner.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx
index e969d5a..86cc145 100644
--- a/build2/test/script/runner.cxx
+++ b/build2/test/script/runner.cxx
@@ -356,7 +356,7 @@ namespace build2
{
error (ll) << "unable to execute " << pp << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
@@ -1494,7 +1494,7 @@ namespace build2
{
error (ll) << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
std::exit (1);
throw failed ();