aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r--lib/Iurt/Chroot.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 488b53e..84fe3b1 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -33,7 +33,7 @@ Return true.
=cut
sub clean_chroot {
- my ($chroot, $chroot_ref, $run, $config) = @_;
+ my ($chroot, $run, $config) = @_;
plog('DEBUG', "clean chroot");
if (-d $chroot) {
@@ -67,7 +67,7 @@ Return true.
sub clean_and_build_chroot {
my ($chroot, $chroot_ref, $run, $config) = @_;
- clean_chroot($chroot, $chroot_ref, $run, $config) and return 1;
+ clean_chroot($chroot, $run, $config) and return 1;
if (!create_build_chroot($chroot, $chroot_ref, $run, $config)) {
plog('ERROR', "Failed to create chroot");