From 6fcf2a8c820f169399a35786180953ecea89e6d3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 24 Mar 2012 15:37:08 +0000 Subject: (create_temp_chroot) kill unused arg --- iurt2 | 2 +- lib/Iurt/Chroot.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iurt2 b/iurt2 index 1ffac29..ba994e2 100755 --- a/iurt2 +++ b/iurt2 @@ -834,7 +834,7 @@ retry: if (!$run{use_old_chroot}) { $chroot_tmp = create_temp_chroot(\%run, $config, - $cache, $chroot_tmp, $chroot_tar, $srpm) or next; + $cache, $chroot_tmp, $chroot_tar) or next; } if (!$urpmi->urpmi_command($chroot_tmp, $luser)) { diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index deb15f2..3d13c28 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -205,7 +205,7 @@ sub add_local_user { } sub create_temp_chroot { - my ($run, $config, $_cache, $chroot_tmp, $chroot_tar, $o_srpm) = @_; + my ($run, $config, $_cache, $chroot_tmp, $chroot_tar) = @_; plog("Install new chroot"); plog('DEBUG', "... in $chroot_tmp"); -- cgit v1.2.1