From b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 11 Jun 2022 16:02:47 +0200 Subject: 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 ?? --- NEWS | 2 ++ lib/Iurt/Chroot.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d788489..a126dd3 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- Fix cleaning chroots (eg: when using --clean-all) + 0.7.17.2 - iurt: Use consistent log directory (fixes a crash on Mageia BS). 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; } -- cgit v1.2.1