diff options
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r-- | build2/test/rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index bc90c1f..da6b2f3 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -614,7 +614,7 @@ namespace build2 { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); |