From e1694d12cfbdabd68deb2c6a7269544c5ecb4604 Mon Sep 17 00:00:00 2001 From: levasseur Date: Mon, 25 Oct 2021 15:16:19 +0200 Subject: [PATCH] better output when leaving chrooted execution --- init.sh | 2 ++ lib/zzz_main_fct.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 7f5d7f8..43db7e0 100755 --- a/init.sh +++ b/init.sh @@ -118,6 +118,8 @@ fi if [[ -n $CHROOT_PATH && -z $CHROOT_DONE ]]; then chroot_bootstrap $@ + prnt I "Fin normale d'execution chrootée !" + exit 0 fi load_autoconf diff --git a/lib/zzz_main_fct.sh b/lib/zzz_main_fct.sh index 8b9a173..53317b3 100644 --- a/lib/zzz_main_fct.sh +++ b/lib/zzz_main_fct.sh @@ -166,7 +166,6 @@ chroot_bootstrap() prnt I "Retours au système hote et nettoyage." rm -rf $tmpdir - exit 0 } # ------------------------------------------------------------------------------