aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-21 01:00:16 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-21 01:00:16 +0000
commitf56cadcede8d54aa2bbe73ceed55705c47df8555 (patch)
tree9bfbcc83caaf5e6a5bb5b995dc092eb01664e5fe
parentaf8a9997fb44451345a9a8cc90b23067ccdc13dc (diff)
downloadpaludis-f56cadcede8d54aa2bbe73ceed55705c47df8555.tar.gz
paludis-f56cadcede8d54aa2bbe73ceed55705c47df8555.tar.xz
Fix continue-on-failure + resume command. Fixes: ticket:557
-rw-r--r--paludis/install_task.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/paludis/install_task.cc b/paludis/install_task.cc
index 8c44645..f291e75 100644
--- a/paludis/install_task.cc
+++ b/paludis/install_task.cc
@@ -303,12 +303,18 @@ namespace
void visit(const DepListEntryHandledSkippedUnsatisfied & s)
{
- result = "U" + stringify(s.spec());
+ if (undo_failures)
+ result = "P";
+ else
+ result = "U" + stringify(s.spec());
}
void visit(const DepListEntryHandledSkippedDependent & s)
{
- result = "D=" + stringify(*s.id());
+ if (undo_failures)
+ result = "P";
+ else
+ result = "D=" + stringify(*s.id());
}
};
}