From b0e481a653b01e4329bccb1d101d56e3e878e960 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 3 Jun 2016 16:43:46 +0300 Subject: Port to MinGW --- build2/cli/module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cli') 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. } }; -- cgit v1.1