Date: Mon, 1 May 2023 21:04:17 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0c4183f02efc - main - rc.d/zfsbe: Simplify Message-ID: <202305012104.341L4HSA051848@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0c4183f02efccbb09892f3e5c97745884afe189d commit 0c4183f02efccbb09892f3e5c97745884afe189d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-05-01 15:28:11 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-05-01 21:02:53 +0000 rc.d/zfsbe: Simplify So $(foo) is a shorter version of "`foo`". Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D39413 --- libexec/rc/rc.d/zfsbe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/zfsbe b/libexec/rc/rc.d/zfsbe index e0a30c5a16b4..c69255363ecf 100755 --- a/libexec/rc/rc.d/zfsbe +++ b/libexec/rc/rc.d/zfsbe @@ -57,7 +57,7 @@ activate_bootonce() _dev=$1 _be=${_dev##*/} - _bootonce="`kenv -q zfs-bootonce`" + _bootonce=$(kenv -q zfs-bootonce) if [ "$_bootonce" = "zfs:${_dev}:" ] ; then bectl activate $_be fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305012104.341L4HSA051848>