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

Devin Teske dteske at FreeBSD.org
Wed Dec 18 21:16:58 UTC 2013


Author: dteske
Date: Wed Dec 18 21:16:57 2013
New Revision: 259572
URL: http://svnweb.freebsd.org/changeset/base/259572

Log:
  In bsdinstall_log, it's rather confusing to see the following sequence:
    DEBUG: Running installation step: hostname
    rm: /tmp/bsdinstall_etc/fstab: No such file or directory
  
  The two lines are unrelated, and the rm is spurious. Let's add `-f' to
  that rm(1) so it doesn't confuse us when debugging an install.
  
  MFC after:	3 days

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

Modified: head/usr.sbin/bsdinstall/scripts/auto
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/auto	Wed Dec 18 21:14:43 2013	(r259571)
+++ head/usr.sbin/bsdinstall/scripts/auto	Wed Dec 18 21:16:57 2013	(r259572)
@@ -103,7 +103,7 @@ if [ -n "$FETCH_DISTRIBUTIONS" ]; then
 	export BSDINSTALL_DISTSITE
 fi
 
-rm $PATH_FSTAB
+rm -f $PATH_FSTAB
 touch $PATH_FSTAB
 
 PMODES="\


More information about the svn-src-head mailing list