summaryrefslogtreecommitdiff
path: root/src/chroot-tools/hooks-chcleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/hooks-chcleanup.sh')
-rw-r--r--src/chroot-tools/hooks-chcleanup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chroot-tools/hooks-chcleanup.sh b/src/chroot-tools/hooks-chcleanup.sh
index 09e6dd9..198bc36 100644
--- a/src/chroot-tools/hooks-chcleanup.sh
+++ b/src/chroot-tools/hooks-chcleanup.sh
@@ -10,7 +10,6 @@ clean_chroot() (
cd /build
sudo -u nobody "$(librelib chroot/chcleanup)"
else
- librechroot -l "$copydir" clean-pkgs
+ librechroot "${librechroot_flags[@]}" clean-pkgs
fi
- r=$?; echo clean_chroot returning $r; return $r
)