summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_hooks')
-rwxr-xr-xhelpers/lh_chroot_hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_hooks b/helpers/lh_chroot_hooks
index 5922ef3..6621bc1 100755
--- a/helpers/lh_chroot_hooks
+++ b/helpers/lh_chroot_hooks
@@ -57,7 +57,7 @@ do
fi
# Executing hook
- Chroot "/root/${HOOK}"
+ Chroot chroot "/root/${HOOK}"
# Removing hook
rm -f chroot/root/"${HOOK}"
@@ -69,5 +69,5 @@ done
if [ -n "${LH_HOOKS}" ] && [ "${LH_HOOKS}" != "none" ]
then
- LH_DEBCONF_FRONTEND="readline" LH_DEBCONF_PRIORITY="low" LH_DEBCONF_NOWARNINGS="no" Chroot "${LH_HOOKS}"
+ LH_DEBCONF_FRONTEND="readline" LH_DEBCONF_PRIORITY="low" LH_DEBCONF_NOWARNINGS="no" Chroot chroot "${LH_HOOKS}"
fi