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`
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to