The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0c4183f02efccbb09892f3e5c97745884afe189d

commit 0c4183f02efccbb09892f3e5c97745884afe189d
Author:     Warner Losh <[email protected]>
AuthorDate: 2023-05-01 15:28:11 +0000
Commit:     Warner Losh <[email protected]>
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

Reply via email to