diff options
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-x | helpers/lh_binary_chroot | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 8bf6125..150d6b1 100755 --- a/helpers/lh_binary_chroot +++ b/helpers/lh_binary_chroot @@ -57,7 +57,12 @@ then ${LH_ROOT_COMMAND} umount chroot/sys fi -if [ "${LIVE_CHROOT_BUILD}" = "disabled" ] +if [ "${LH_CHROOT_BUILD}" = "disabled" ] +then + exit 0 +fi + +if [ "${LH_CACHE}" = "enabled" ] && ls cache/stages_rootfs/filesystem* > /dev/null 2>&1 then exit 0 fi |