Permalink
Browse files

Save the logfile after we stamp GRUB

  • Loading branch information...
1 parent 0f9dbbc commit 88e7386e7bea7ce90abf10164483b3b96f87b5a4 @kmoore134 kmoore134 committed Jun 21, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 src-sh/pc-sysinstall/backend/functions-unmount.sh
@@ -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

0 comments on commit 88e7386

Please sign in to comment.