From 817d3a8b7d60de5bc16de901012e39946ec01c0f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 1 Jan 2020 12:10:59 +0100 Subject: [PATCH] chroot_init: return 0 at the end to not inherit last cmd errval. --- common/xbps-src/shutils/chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index fcb0c4a04cc..2f40697657d 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -94,6 +94,7 @@ _EOF chmod 755 $XBPS_MASTERDIR/bin/xbps-shell cp -f /etc/resolv.conf $XBPS_MASTERDIR/etc + return 0 } chroot_prepare() {