Fix umount_kernel_fs().

This commit is contained in:
Juan RP 2013-03-12 09:17:27 +01:00
parent f7b2c93354
commit 0c32961490

View File

@ -42,7 +42,9 @@ error_out() {
umount_kernel_fs() { umount_kernel_fs() {
for f in sys/fs/cgroup/systemd sys/fs/cgroup dev/shm dev/pts dev proc sys run; do for f in sys/fs/cgroup/systemd sys/fs/cgroup dev/shm dev/pts dev proc sys run; do
umount -f $ROOTFS/kernel_temp/$f &>/dev/null if [ -d $ROOTFS/kernel_temp/$f ]; then
umount $ROOTFS/kernel_temp/$f || true
fi
done done
} }