drop insto shell on failure

This commit is contained in:
j3d1 2022-03-28 02:12:05 +02:00
parent 5a38973d52
commit 73357d03d4

View file

@ -50,7 +50,7 @@ function unbox_outer_stage(){
if type -t first_stage > /dev/null; then
first_stage
first_stage || (echo first_stage failed; bash)
else
echo first stage not found
fi
@ -74,7 +74,7 @@ function unbox_outer_stage(){
umount target/root/unbox target/root/unbox_data
if type -t post_install_stage > /dev/null; then
post_install_stage
post_install_stage || (echo post_install_stage failed; bash)
else
echo no post_install_stage found
fi
@ -96,7 +96,7 @@ function unbox_inner_stage(){
echo chosen repository does not contain entry.sh file
fi
if type -t second_stage > /dev/null; then
second_stage
second_stage || (echo second_stage failed; bash)
else
echo second stage not found
fi