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

This commit is contained in:
jmcneill 2015-04-07 18:02:11 +00:00
parent 4e91feb5e1
commit f02362348e

View File

@ -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