aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-07-14 12:07:19 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2009-07-14 12:07:19 +0100
commit5724416dbdd008b44a6a1c27f0b3a7790e9a125a (patch)
tree59088a055905258ac2081442bfa7d42e15a358cd
parent80328502c8562e43cd2ede72387afbfe95dc0a56 (diff)
downloadpaludis-5724416dbdd008b44a6a1c27f0b3a7790e9a125a.tar.gz
paludis-5724416dbdd008b44a6a1c27f0b3a7790e9a125a.tar.xz
Fix resume command for fetch failures
-rw-r--r--paludis/install_task.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/install_task.cc b/paludis/install_task.cc
index e342ca4..2b5ea12 100644
--- a/paludis/install_task.cc
+++ b/paludis/install_task.cc
@@ -361,7 +361,10 @@ namespace
void visit(const DepListEntryHandledFetchFailed &)
{
- result = "E";
+ if (undo_failures)
+ result = "P";
+ else
+ result = "E";
}
void visit(const DepListEntryHandledFetchSuccess &)