Made mounting/unmount of child /proc and /sys conditional for whether the host has them or not

This commit is contained in:
2012-08-05 23:55:55 -04:00
parent b84d7e8fcd
commit c3fa89727d
2 changed files with 0 additions and 6 deletions

View File

@@ -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