aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-27 04:05:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-27 04:05:52 +0000
commite603e8b5bf54c290580d3a96cf26c365131567f5 (patch)
tree45e21c61f0e29f96a2d77d97eac0203bae08756b
parent6093fcd23526b063e56e7e7fadf4676991aa895f (diff)
downloadiurt-e603e8b5bf54c290580d3a96cf26c365131567f5.tar
iurt-e603e8b5bf54c290580d3a96cf26c365131567f5.tar.gz
iurt-e603e8b5bf54c290580d3a96cf26c365131567f5.tar.bz2
iurt-e603e8b5bf54c290580d3a96cf26c365131567f5.tar.xz
iurt-e603e8b5bf54c290580d3a96cf26c365131567f5.zip
(remove_chroot) kill useless parameter than previously makes '$prefix'
parameter not used (bug!!!) bug introduced in commit r5307 by pterjan on 2012-08-08 (was: "Initial btrfs support")
-rw-r--r--NEWS1
-rw-r--r--lib/Iurt/Chroot.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b52c0a2..923eacd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
0.6.7 (unreleased)
+- internal cleanups
- log not cleaning chroots due mount points still being there
- mount /dev/shm in chroots too (needed for eg: python)
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index a638258..1c5324b 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -208,7 +208,7 @@ sub create_temp_chroot {
}
sub remove_chroot {
- my ($run, $dir, $func, $prefix) = @_;
+ my ($run, $dir, $prefix) = @_;
plog("Remove existing chroot");
plog('DEBUG', "... dir $dir all $run->{clean_all} prefix $prefix");