xbps-src: chroot: do nothing if we are already in the chroot.
This commit is contained in:
parent
88c76fb588
commit
67c854fc64
|
@ -155,7 +155,7 @@ chroot_sync_repos() {
|
|||
chroot_handler() {
|
||||
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
|
||||
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
if [ -n "$IN_CHROOT" -o -z "$CHROOT_READY" ]; then
|
||||
return 0
|
||||
fi
|
||||
# Debian uses /run/shm instead...
|
||||
|
|
Loading…
Reference in New Issue