diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-06-11 16:02:47 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-06-11 16:04:17 +0200 |
commit | b79f3a537c62c4f1d987ccf33ab38cddeb3d1d9d (patch) | |
tree | 93c3bd2c36e6d78a05b7a0e4861efe0f4fd4e3dd | |
parent | e3807dca1b4868ccc0f50bf70487ac7e56174629 (diff) | |
download | iurt-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 ??
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; } |