aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-06-11 16:02:47 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-06-11 16:04:17 +0200
commitb79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d (patch)
tree93c3bd2c36e6d78a05b7a0e4861efe0f4fd4e3dd /lib/Iurt
parente3807dca1b4868ccc0f50bf70487ac7e56174629 (diff)
downloadiurt-b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d.tar
iurt-b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d.tar.gz
iurt-b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d.tar.bz2
iurt-b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d.tar.xz
iurt-b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d.zip
fix calling clean_chroot()
The call wasn't matching the function signature thus breaking cleaning chroots. Bug introducted in commit 69e74732d254c75adc20afc25a8729ca568be832 I wonder why nobody saw it before ??
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 27f76c8..34520d1 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -236,7 +236,7 @@ sub clean_all_chroot_tmp {
}
foreach (readdir($dir)) {
/$prefix/ or next;
- clean_chroot($run, $config, "$chroot_dir/$_");
+ clean_chroot("$chroot_dir/$_", $run, $config);
}
closedir $dir;
}