summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sysfs')
-rwxr-xr-xhelpers/lh_chroot_sysfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index d68f3e67f..f6acb6478 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -42,7 +42,7 @@ case "${1}" in
# Creating lock file
Create_lockfile .lock
- if [ "${LH_USE_FAKEROOT}" != "enabled" ]
+ if [ "${LH_USE_FAKEROOT}" != "true" ]
then
# Create mountpoint
mkdir -p chroot/sys
@@ -67,7 +67,7 @@ case "${1}" in
# Creating lock file
Create_lockfile .lock
- if [ "${LH_USE_FAKEROOT}" != "enabled" ]
+ if [ "${LH_USE_FAKEROOT}" != "true" ]
then
# Unmounting /sys
#fuser -km chroot/sys