summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_proc
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_proc')
-rwxr-xr-xhelpers/lh_chroot_proc8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_proc b/helpers/lh_chroot_proc
index 42a7febe6..6eeec9dd8 100755
--- a/helpers/lh_chroot_proc
+++ b/helpers/lh_chroot_proc
@@ -57,7 +57,7 @@ case "${1}" in
fi
# Mounting /proc
- mount proc-live -t proc chroot/proc
+ ${LH_ROOT_COMMAND} mount proc-live -t proc chroot/proc
# Creating stage file
Create_stagefile .stage/chroot_proc
@@ -71,14 +71,14 @@ case "${1}" in
Create_lockfile .lock
# Workaround binfmt-support /proc locking
- if [ -e chroot/proc/sys/fs/binftm_misc/status ]
+ if [ -e chroot/proc/sys/fs/binfmt_misc/status ]
then
- umount chroot/proc/sys/fs/binfmt_misc
+ ${LH_ROOT_COMMAND} umount chroot/proc/sys/fs/binfmt_misc
fi
# Unmounting /proc
#fuser -km chroot/proc
- umount chroot/proc > /dev/null 2>&1
+ ${LH_ROOT_COMMAND} umount chroot/proc > /dev/null 2>&1
# Removing stage file
rm -f .stage/chroot_proc