From e603e8b5bf54c290580d3a96cf26c365131567f5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Aug 2012 04:05:52 +0000 Subject: (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") --- NEWS | 1 + lib/Iurt/Chroot.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.1