From 86e4a32fd0a0f5b8f2476bd89af0103a763fab41 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 30 May 2021 03:15:06 +0200 Subject: [PATCH] Remove exec from chroot to allow post-chroot unmount --- scripts/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index eeee910..7b57674 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -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'" }