fixed few minor issues
This commit is contained in:
@@ -32,7 +32,9 @@ chroot_bootstrap()
|
||||
cp -av $bootstrap_items $tmpdir
|
||||
|
||||
prnt I "Changing root and starting a fork of init.sh..."
|
||||
chroot $CHROOT_PATH /bin/bash -c 'CHROOT_DONE=true; $tmpdir/init.sh $@'
|
||||
# on the following line, true allows to correctly exit in case of error since
|
||||
# errors are managed by the chrooted environment
|
||||
chroot $CHROOT_PATH /bin/bash -c 'CHROOT_DONE=true; $tmpdir/init.sh $@' || true
|
||||
|
||||
# If stage file still exists we copy it to be able to resume later
|
||||
if [[ -e $tmpdir/$(basename $STAGE_FILE) ]]; then
|
||||
|
||||
Reference in New Issue
Block a user