rc.d/zfsbe: Simplify

So $(foo) is a shorter version of "`foo`".

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D39413
This commit is contained in:
Warner Losh 2023-05-01 09:28:11 -06:00
parent 43f7eeff0d
commit 0c4183f02e

View file

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