summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 5690ccc6..33bf83b3 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1283,7 +1283,7 @@ sub _update_medium_first_pass {
if (!$medium_redone && !$medium->{noreconfigure}) {
my $reconfig_urpmi = reduce_pathname("$dir/reconfig.urpmi");
if (-s $reconfig_urpmi && $urpm->reconfig_urpmi($reconfig_urpmi, $medium->{name})) {
- _update_medium_first_pass($urpm, $medium, $second_pass, $clean_cache, 'redo', %options);
+ return _update_medium_first_pass($urpm, $medium, $second_pass, $clean_cache, 'redo', %options);
}
}
@@ -1476,7 +1476,7 @@ this could happen if you mounted manually the directory when creating the medium
};
if (-s $reconfig_urpmi && $urpm->reconfig_urpmi($reconfig_urpmi, $medium->{name})) {
if (!$medium_redone) {
- _update_medium_first_pass($urpm, $medium, $second_pass, $clean_cache, 'redo', %options);
+ return _update_medium_first_pass($urpm, $medium, $second_pass, $clean_cache, 'redo', %options);
}
}
unlink $reconfig_urpmi;