aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:54:07 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:54:07 +0000
commit5af33573e3233cde8b3e421a322409b035f18832 (patch)
treef6493f4c72af24c3ba862c554fc87a660f8a4fc5 /iurt2
parenta1b3cacd7975f74a75be85e6a38e362b9ff5509e (diff)
downloadiurt-5af33573e3233cde8b3e421a322409b035f18832.tar
iurt-5af33573e3233cde8b3e421a322409b035f18832.tar.gz
iurt-5af33573e3233cde8b3e421a322409b035f18832.tar.bz2
iurt-5af33573e3233cde8b3e421a322409b035f18832.tar.xz
iurt-5af33573e3233cde8b3e421a322409b035f18832.zip
(create_temp_chroot) kill unused arg
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 0a54f04..f17100c 100755
--- a/iurt2
+++ b/iurt2
@@ -736,7 +736,7 @@ if ($df->{per} >= 99) {
if ($run{shell}) {
if (!$run{use_old_chroot}) {
- create_temp_chroot(\%run, $config, $cache, $chroot_tmp, $chroot_tar)
+ create_temp_chroot(\%run, $config, $chroot_tmp, $chroot_tar)
or die "FATAL $program_name: could not create temporary chroot";
}
add_local_user($chroot_tmp, \%run, $config, $luser, $run{uid}) or die "FATAL $program_name: could not add local user";
@@ -835,7 +835,7 @@ retry:
if (!$run{use_old_chroot}) {
$chroot_tmp = create_temp_chroot(\%run, $config,
- $cache, $chroot_tmp, $chroot_tar) or next;
+ $chroot_tmp, $chroot_tar) or next;
}
if (!$urpmi->urpmi_command($chroot_tmp, $luser)) {