summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ka_run.pm1
-rw-r--r--urpm/parallel_ssh.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index 7b8792f4..2d3039eb 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -61,6 +61,7 @@ sub parallel_find_remove {
if (exists $bad_nodes{$node}) {
/^\s+(.+)/ and push @{$bad_nodes{$node}}, $1;
} else {
+ s/\s*\(.*//; #- remove reason (too complex to handle and needed to be removed).
$state->{rejected}{$_}{removed} = 1;
$state->{rejected}{$_}{nodes}{$node} = undef;
}
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index cfd9afe4..5d885e1b 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -64,6 +64,7 @@ sub parallel_find_remove {
if (exists $bad_nodes{$node}) {
/^\s+(.*)/ and push @{$bad_nodes{$node}}, $1;
} else {
+ s/\s*\(.*//; #- remove reason (too complex to handle and needed to be removed).
$state->{rejected}{$_}{removed} = 1;
$state->{rejected}{$_}{nodes}{$node} = undef;
}