Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 21:16:57 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259572 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201312182116.rBILGvSV076498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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="\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312182116.rBILGvSV076498>