From 1c1e7db6c44d639fd51ee23061087c7d14b6ef6b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 28 Oct 2008 16:44:06 +0100 Subject: Generalizing internal Chroot(); by requiring its first argument to be the chroot directory. --- helpers/lh_chroot_hooks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_chroot_hooks') diff --git a/helpers/lh_chroot_hooks b/helpers/lh_chroot_hooks index 5922ef355..6621bc130 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 -- cgit v1.2.3