Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d fix typo in previous; pass -y unconditionally to re...



details:   https://anonhg.NetBSD.org/src/rev/8b56592e93b0
branches:  trunk
changeset: 337232:8b56592e93b0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 07 18:02:11 2015 +0000

description:
fix typo in previous; pass -y unconditionally to resize_ffs, not -p

diffstat:

 etc/rc.d/resize_root |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 72ec9174fda2 -r 8b56592e93b0 etc/rc.d/resize_root
--- a/etc/rc.d/resize_root      Tue Apr 07 17:49:40 2015 +0000
+++ b/etc/rc.d/resize_root      Tue Apr 07 18:02:11 2015 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: resize_root,v 1.2 2015/04/06 22:40:09 jmcneill Exp $
+# $NetBSD: resize_root,v 1.3 2015/04/07 18:02:11 jmcneill Exp $
 #
 
 # PROVIDE: resize_root
@@ -82,7 +82,7 @@
 
        if resize_ffs -c $rootdev; then
                echo "Resizing $rootmp"
-               if ! resize_ffs -p $resize_root_flags $rootdev; then
+               if ! resize_ffs -y $resize_root_flags $rootdev; then
                    echo "Error resizing root."
                    stop_boot
                fi



Home | Main Index | Thread Index | Old Index