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