better output when leaving chrooted execution
This commit is contained in:
2
init.sh
2
init.sh
@@ -118,6 +118,8 @@ fi
|
|||||||
|
|
||||||
if [[ -n $CHROOT_PATH && -z $CHROOT_DONE ]]; then
|
if [[ -n $CHROOT_PATH && -z $CHROOT_DONE ]]; then
|
||||||
chroot_bootstrap $@
|
chroot_bootstrap $@
|
||||||
|
prnt I "Fin normale d'execution chrootée !"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
load_autoconf
|
load_autoconf
|
||||||
|
|||||||
@@ -166,7 +166,6 @@ chroot_bootstrap()
|
|||||||
|
|
||||||
prnt I "Retours au système hote et nettoyage."
|
prnt I "Retours au système hote et nettoyage."
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user