aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/gcc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/gcc.cxx')
-rw-r--r--build2/cc/gcc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/gcc.cxx b/build2/cc/gcc.cxx
index 6ad1ad1..c16191a 100644
--- a/build2/cc/gcc.cxx
+++ b/build2/cc/gcc.cxx
@@ -92,7 +92,7 @@ namespace build2
{
error << "unable to execute " << args[0] << ": " << e;
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();