aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index 0556ce0..a380bd5 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -542,7 +542,7 @@ sub install_packages {
},
)) {
plog('DEBUG', "urpmi command failed.");
- if (!clean_process($run, "$self->{urpmi_command} @to_install", $run->{verbose})) {
+ if (!clean_process("$self->{urpmi_command} @to_install", $run->{verbose})) {
dump_cache_par($run);
die "FATAL $program_name: Could not have urpmi working !";
}
@@ -567,7 +567,7 @@ sub clean_urpmi_process {
my $program_name = $run->{program_name};
if (!$run->{chrooted_urpmi}) {
my $match = $self->{urpmi_command} or return;
- if (!clean_process($run, $match, $run->{verbose})) {
+ if (!clean_process($match, $run->{verbose})) {
dump_cache_par($run);
die "FATAL $program_name: Could not have urpmi working !";
}