diff options
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_chroot_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 846a5c8..4ea2b87 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -95,7 +95,7 @@ then ${LH_ROOT_COMMAND} chown -R --quiet $(whoami):$(whoami) chroot fi -if [ -d chroot/home/${LH_USERNAME} ] +if [ "${LH_INITRAMFS}" = "casper" ] && [ -d chroot/home/${LH_USERNAME} ] then chown -R --quiet 999:999 chroot/home/${LH_USERNAME} fi |