Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Save the logfile after we stamp GRUB
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Jun 21, 2013
1 parent 0f9dbbc commit 88e7386
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src-sh/pc-sysinstall/backend/functions-unmount.sh
Expand Up @@ -62,13 +62,14 @@ start_gmirror_sync()
# Unmounts all our mounted file-systems
unmount_all_filesystems()
{
# Copy the logfile to disk before we unmount
cp ${LOGOUT} ${FSMNT}/root/pc-sysinstall.log
cd /

# Check if we need to setup GRUB
if [ -e "${TMPDIR}/.grub-install" ] ; then setup_grub; fi

# Copy the logfile to disk before we unmount
cp ${LOGOUT} ${FSMNT}/root/pc-sysinstall.log

# Start by unmounting any ZFS partitions
zfs_cleanup_unmount

Expand Down

0 comments on commit 88e7386

Please sign in to comment.