svn commit: r345684 - stable/12/libexec/rc/rc.d
Kurt Lidl
lidl at FreeBSD.org
Fri Mar 29 13:03:07 UTC 2019
Author: lidl
Date: Fri Mar 29 13:03:05 2019
New Revision: 345684
URL: https://svnweb.freebsd.org/changeset/base/345684
Log:
MFC r345005:
Remove an unneeded 'tail -n 1' from a pipeline in growfs rc script
Modified:
stable/12/libexec/rc/rc.d/growfs
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/libexec/rc/rc.d/growfs
==============================================================================
--- stable/12/libexec/rc/rc.d/growfs Fri Mar 29 11:59:54 2019 (r345683)
+++ stable/12/libexec/rc/rc.d/growfs Fri Mar 29 13:03:05 2019 (r345684)
@@ -57,7 +57,7 @@ growfs_start ()
;;
zfs)
pool=${FSDEV%%/*}
- rootdev=$(zpool list -v $pool | tail -n 1 | awk '{ print $1 }')
+ rootdev=$(zpool list -v $pool | awk 'END { print $1 }')
;;
*)
echo "Don't know how to grow root filesystem type: $FSTYPE"
More information about the svn-src-all
mailing list