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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/hooks-chcleanup.sh b/src/chroot-tools/hooks-chcleanup.sh
index 0fd0f72..7afb13d 100644
--- a/src/chroot-tools/hooks-chcleanup.sh
+++ b/src/chroot-tools/hooks-chcleanup.sh
@@ -25,7 +25,7 @@ clean_chroot() (
local copydir=$1
if $INCHROOT; then
cd /startdir
- sudo -u nobody "$(librelib chroot/chcleanup)"
+ "$(librelib chroot/chcleanup)"
else
librechroot "${librechroot_flags[@]}" clean-pkgs
fi