svn commit: r248488 - head/etc/rc.d

Colin Percival cperciva at FreeBSD.org
Tue Mar 19 05:08:26 UTC 2013


Author: cperciva
Date: Tue Mar 19 05:08:25 2013
New Revision: 248488
URL: http://svnweb.freebsd.org/changeset/base/248488

Log:
  Fix typo in previous commit: Exit if */dev/dumpdev* does not exist, not if
  */bin/realpath* does not exist...
  
  Submitted by:	markj
  Pointy hat to:	cperciva

Modified:
  head/etc/rc.d/savecore

Modified: head/etc/rc.d/savecore
==============================================================================
--- head/etc/rc.d/savecore	Tue Mar 19 04:42:04 2013	(r248487)
+++ head/etc/rc.d/savecore	Tue Mar 19 05:08:25 2013	(r248488)
@@ -23,7 +23,7 @@ savecore_prestart()
 		return 1
 		;;
 	[Aa][Uu][Tt][Oo])
-		if [ ! -L /bin/realpath ]; then
+		if [ ! -L /dev/dumpdev ]; then
 			return 1
 		fi
 		dumpdev=`/bin/realpath /dev/dumpdev`


More information about the svn-src-all mailing list