aboutsummaryrefslogtreecommitdiff
path: root/build2/filesystem.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/filesystem.txx')
-rw-r--r--build2/filesystem.txx6
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/filesystem.txx b/build2/filesystem.txx
index 83e3677..fe56498 100644
--- a/build2/filesystem.txx
+++ b/build2/filesystem.txx
@@ -37,8 +37,7 @@ namespace build2
catch (const system_error& e)
{
print ();
- error << "unable to remove file " << f << ": " << e;
- throw failed ();
+ fail << "unable to remove file " << f << ": " << e << endf;
}
if (rs == rmfile_status::success)
@@ -78,8 +77,7 @@ namespace build2
catch (const system_error& e)
{
print ();
- error << "unable to remove directory " << d << ": " << e;
- throw failed ();
+ fail << "unable to remove directory " << d << ": " << e << endf;
}
switch (rs)