xbps-src: simplify chroot_handler usage.

This commit is contained in:
Juan RP 2015-01-04 11:41:22 +01:00
parent 9c4b88d2d5
commit 0e0eb9001a
2 changed files with 10 additions and 29 deletions

View file

@ -164,7 +164,7 @@ chroot_handler() {
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
if [ -n "$IN_CHROOT" -o -z "$CHROOT_READY" ]; then
return 0
return 1
fi
# Debian uses /run/shm instead...
if [ -d /run/shm ]; then