Merge pull request #1000 from Linux4Yourself/fix-chroot

Фикс бага с отсутствием директорий в PATH.
This commit is contained in:
makpif 2021-12-09 11:36:07 +03:00 committed by GitHub
commit 926b8058d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
chroot "$LIN" /usr/bin/env -i \
HOME=/root TERM="$TERM" \
PS1='(chroot) \u:\w\$ ' \
PATH=/usr/bin \
chroot "$LIN" /usr/bin/env -i \
HOME=/root TERM="$TERM" \
PS1='(chroot) \u:\w\$ ' \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
/bin/bash --login