svn commit: r285482 - head/usr.sbin/bsdinstall/scripts

Allan Jude allanjude at FreeBSD.org
Mon Jul 13 17:40:26 UTC 2015


Author: allanjude (doc committer)
Date: Mon Jul 13 17:40:24 2015
New Revision: 285482
URL: https://svnweb.freebsd.org/changeset/base/285482

Log:
  Fix a typo in bsdinstall
  
  A variable was misspelled resulting in chmod executing on the installer instead of on the target chroot
  
  PR:		191402
  Submitted by:	Martin Simmons <martin at lispworks.com>
  Approved by:	brueffer
  MFC after:	3 days
  Sponsored by:	ScaleEngine Inc.
  Differential Revision:	https://reviews.freebsd.org/D3061

Modified:
  head/usr.sbin/bsdinstall/scripts/zfsboot

Modified: head/usr.sbin/bsdinstall/scripts/zfsboot
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/zfsboot	Mon Jul 13 15:51:28 2015	(r285481)
+++ head/usr.sbin/bsdinstall/scripts/zfsboot	Mon Jul 13 17:40:24 2015	(r285482)
@@ -1241,7 +1241,7 @@ zfs_create_boot()
 	local dir
 	for dir in /tmp /var/tmp; do
 		f_eval_catch $funcname chmod "$CHMOD_MODE" 1777 \
-		             $BSDINSTALL_CHROOTDIR$dir || return $FAILURE
+		             $BSDINSTALL_CHROOT$dir || return $FAILURE
 	done
 
 	# Create symlink(s)


More information about the svn-src-all mailing list