From 8bd121070d971e13f282d974f8dcab29466d5658 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sat, 26 Sep 2020 19:15:40 +0200 Subject: [PATCH] Optimized debuging --- scripts/image/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index b6308f8..9d584d5 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -470,7 +470,7 @@ if [ "$encrypt_system" == "y" ] echo "echo \"Content of $boot_txt_path:\$(cat \"$boot_txt_path\")\" &&" echo "cd /boot/ && ./mkscr &&" echo "umount $root_mapper_path &&" - echo "exit" + echo "exit || echo 'Error in chroot environment!' && exit 1" ) | chroot "$root_mount_path" /bin/bash || error fi