Made mounting/unmount of child /proc and /sys conditional for whether the host has them or not
This commit is contained in:
@@ -9,8 +9,6 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
|
||||
umount ${DISCOROOT}/chroot
|
||||
umount ${DISCOROOT}/proc/proc
|
||||
umount ${DISCOROOT}/sysfs/sys
|
||||
umount ${DISCOROOT}/rootfs
|
||||
mount | grep $DISCOROOT > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user