Remove exec from chroot to allow post-chroot unmount

This commit is contained in:
oddlama 2021-05-30 03:15:06 +02:00
parent ad7709d9dd
commit 86e4a32fd0
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ function gentoo_chroot() {
EXECUTED_IN_CHROOT=true \
TMP_DIR="$TMP_DIR" \
CACHED_LSBLK_OUTPUT="$CACHED_LSBLK_OUTPUT" \
exec chroot -- "$chroot_dir" "$GENTOO_INSTALL_REPO_DIR/scripts/dispatch_chroot.sh" "$@" \
chroot -- "$chroot_dir" "$GENTOO_INSTALL_REPO_DIR/scripts/dispatch_chroot.sh" "$@" \
|| die "Failed to chroot into '$chroot_dir'"
}