aboutsummaryrefslogtreecommitdiff
path: root/build2/cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-03 16:43:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-18 15:17:29 +0300
commitb0e481a653b01e4329bccb1d101d56e3e878e960 (patch)
treebba1a4cae73ec4ece95f408e079a15d664e49927 /build2/cli
parent0d692ec857340a0f16a03d6a7ef38fe864a83cfc (diff)
Port to MinGW
Diffstat (limited to 'build2/cli')
-rw-r--r--build2/cli/module.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cli/module.cxx b/build2/cli/module.cxx
index bc6e13f..44b36a1 100644
--- a/build2/cli/module.cxx
+++ b/build2/cli/module.cxx
@@ -132,7 +132,7 @@ namespace build2
{
// In some cases this is not enough (e.g., the runtime linker
// will print scary errors if some shared libraries are not
- // found. So it would be good to redirect child's STDERR.
+ // found). So it would be good to redirect child's STDERR.
//
if (!optional)
error << "unable to execute " << cli << ": " << e.what ();
@@ -140,7 +140,7 @@ namespace build2
if (e.child ())
exit (1);
- throw failed ();
+ return string (); // Not found.
}
};