Browse Source

do_chroot: overwrite $HOME

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 10 years ago
parent
commit
3bdc0e034d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      files/bin/do_chroot

+ 1
- 1
files/bin/do_chroot

@ -30,7 +30,7 @@ for x in dev dev/pts proc sys tmp; do
fi
done
$error || chroot "$DIR" "$@"
$error || HOME=/root chroot "$DIR" "$@"
while grep -q " $DIR/" /proc/mounts; do
sleep 0.2

Loading…
Cancel
Save