From f02362348e259e9e8717a002ee43fdd4d83a43ba Mon Sep 17 00:00:00 2001 From: jmcneill Date: Tue, 7 Apr 2015 18:02:11 +0000 Subject: [PATCH] fix typo in previous; pass -y unconditionally to resize_ffs, not -p --- etc/rc.d/resize_root | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/resize_root b/etc/rc.d/resize_root index 0a5e9b9b2b25..bc1056b970ff 100755 --- a/etc/rc.d/resize_root +++ b/etc/rc.d/resize_root @@ -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 @@ resize_root_start() 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